Chef with aws

Hey Folks,

I was wondering which approach to take (chef,opscode,cloud formation, or a
variation). I am trying to build a stack utilizing RDS, VPC/EC2/, FW, and
possibly setting up raids on the volume. I was wondering if this is
something I can utilize chef with or would it be more beneficial to use
something like opscode or cloud formations since it all resides in the
Amazon infrastructure. With that said, does chef even support RDS
implementations?

Thanks in advance.

  • Nikhil Shah */ System Administrator

nshah@theorchard.com

The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com http://www.dailyrindblog.com/

Facebook http://www.facebook.com/theorchard /
@orchtweetshttp://www.twitter.com/orchtweets

Privileged And Confidential Communication.

This electronic transmission, and any documents attached hereto, (a) are
protected by the Electronic Communications Privacy Act (18 USC §§
2510-2521), (b) may contain confidential and/or legally privileged
information, and © are for the sole use of the intended recipient named
above. If you have received this electronic message in error, please notify
the sender and delete the electronic message. Any disclosure, copying,
distribution, or use of the contents of the information received in error
is strictly prohibited

Nikhil,

I recommend using AWS OpsWorks instead of CloudFormation. Besides Opsworks
supports Chef recipes for deployment. So basically you provision AWS
components and then use Chef recipes to do whatever you want on the ec2.

Thanks
Gourav
Founder, Initcron
www.initcron.com

On Tue, Dec 3, 2013 at 8:53 PM, Nikhil Shah nshah@theorchard.com wrote:

Hey Folks,

I was wondering which approach to take (chef,opscode,cloud formation, or a
variation). I am trying to build a stack utilizing RDS, VPC/EC2/, FW, and
possibly setting up raids on the volume. I was wondering if this is
something I can utilize chef with or would it be more beneficial to use
something like opscode or cloud formations since it all resides in the
Amazon infrastructure. With that said, does chef even support RDS
implementations?

Thanks in advance.

--

  • Nikhil Shah */ System Administrator

nshah@theorchard.com

The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com http://www.dailyrindblog.com/

Facebook http://www.facebook.com/theorchard / @orchtweetshttp://www.twitter.com/orchtweets

Privileged And Confidential Communication.

This electronic transmission, and any documents attached hereto, (a) are
protected by the Electronic Communications Privacy Act (18 USC §§
2510-2521), (b) may contain confidential and/or legally privileged
information, and (c) are for the sole use of the intended recipient named
above. If you have received this electronic message in error, please notify
the sender and delete the electronic message. Any disclosure, copying,
distribution, or use of the contents of the information received in error
is strictly prohibited

Nikhil,

When you provision and RDS machine, you do not get shell access to the
server, so there is no way to have Chef set up the machine. From your
applications point of view, it is just a database accessible via the
database port, there is no other access.

On Tue, Dec 3, 2013 at 10:40 AM, Gourav Shah gs@initcron.org wrote:

Nikhil,

I recommend using AWS OpsWorks instead of CloudFormation. Besides
Opsworks supports Chef recipes for deployment. So basically you provision
AWS components and then use Chef recipes to do whatever you want on the
ec2.

Thanks
Gourav
Founder, Initcron
www.initcron.com

On Tue, Dec 3, 2013 at 8:53 PM, Nikhil Shah nshah@theorchard.com wrote:

Hey Folks,

I was wondering which approach to take (chef,opscode,cloud formation, or
a variation). I am trying to build a stack utilizing RDS, VPC/EC2/, FW, and
possibly setting up raids on the volume. I was wondering if this is
something I can utilize chef with or would it be more beneficial to use
something like opscode or cloud formations since it all resides in the
Amazon infrastructure. With that said, does chef even support RDS
implementations?

Thanks in advance.

--

  • Nikhil Shah */ System Administrator

nshah@theorchard.com

The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com http://www.dailyrindblog.com/

Facebook http://www.facebook.com/theorchard / @orchtweetshttp://www.twitter.com/orchtweets

Privileged And Confidential Communication.

This electronic transmission, and any documents attached hereto, (a) are
protected by the Electronic Communications Privacy Act (18 USC §§
2510-2521), (b) may contain confidential and/or legally privileged
information, and (c) are for the sole use of the intended recipient named
above. If you have received this electronic message in error, please notify
the sender and delete the electronic message. Any disclosure, copying,
distribution, or use of the contents of the information received in error
is strictly prohibited

So in that sense, would it be more beneficial to utilize opscode?

On Tue, Dec 3, 2013 at 10:59 AM, Andrew Gross andrew@yipit.com wrote:

Nikhil,

When you provision and RDS machine, you do not get shell access to the
server, so there is no way to have Chef set up the machine. From your
applications point of view, it is just a database accessible via the
database port, there is no other access.

On Tue, Dec 3, 2013 at 10:40 AM, Gourav Shah gs@initcron.org wrote:

Nikhil,

I recommend using AWS OpsWorks instead of CloudFormation. Besides
Opsworks supports Chef recipes for deployment. So basically you provision
AWS components and then use Chef recipes to do whatever you want on the
ec2.

Thanks
Gourav
Founder, Initcron
www.initcron.com

On Tue, Dec 3, 2013 at 8:53 PM, Nikhil Shah nshah@theorchard.com wrote:

Hey Folks,

I was wondering which approach to take (chef,opscode,cloud formation, or
a variation). I am trying to build a stack utilizing RDS, VPC/EC2/, FW, and
possibly setting up raids on the volume. I was wondering if this is
something I can utilize chef with or would it be more beneficial to use
something like opscode or cloud formations since it all resides in the
Amazon infrastructure. With that said, does chef even support RDS
implementations?

Thanks in advance.

--

  • Nikhil Shah */ System Administrator

nshah@theorchard.com

The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.comhttp://www.dailyrindblog.com/

Facebook http://www.facebook.com/theorchard / @orchtweetshttp://www.twitter.com/orchtweets

Privileged And Confidential Communication.

This electronic transmission, and any documents attached hereto, (a) are
protected by the Electronic Communications Privacy Act (18 USC §§
2510-2521), (b) may contain confidential and/or legally privileged
information, and (c) are for the sole use of the intended recipient named
above. If you have received this electronic message in error, please notify
the sender and delete the electronic message. Any disclosure, copying,
distribution, or use of the contents of the information received in error
is strictly prohibited

--

  • Nikhil Shah */ System Administrator

nshah@theorchard.com

The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com http://www.dailyrindblog.com/

Facebook http://www.facebook.com/theorchard /
@orchtweetshttp://www.twitter.com/orchtweets

Privileged And Confidential Communication.

This electronic transmission, and any documents attached hereto, (a) are
protected by the Electronic Communications Privacy Act (18 USC §§
2510-2521), (b) may contain confidential and/or legally privileged
information, and (c) are for the sole use of the intended recipient named
above. If you have received this electronic message in error, please notify
the sender and delete the electronic message. Any disclosure, copying,
distribution, or use of the contents of the information received in error
is strictly prohibited

Regarding RDS.

If you were to follow the 'chef wrapper' pattern then you would create a
cookbook for setting up your DB server called say 'my_db_server'. This
(private) cookbook could either include (wrap) the standard mysql cookbook
or it could include the standard aws_rds cookbook. Thus you would hide the
DB implementation from the rest of your infrastructure.

I think you could probably run, for example, the mysql cookbook in your Dev
environment and the aws_rds in Live. You probable wouldn't want to do this
unless perhaps you wanted to develop against an offline DB but this is just
an example of what Chef can do.

On 3 December 2013 16:08, Nikhil Shah nshah@theorchard.com wrote:

So in that sense, would it be more beneficial to utilize opscode?

On Tue, Dec 3, 2013 at 10:59 AM, Andrew Gross andrew@yipit.com wrote:

Nikhil,

When you provision and RDS machine, you do not get shell access to the
server, so there is no way to have Chef set up the machine. From your
applications point of view, it is just a database accessible via the
database port, there is no other access.

On Tue, Dec 3, 2013 at 10:40 AM, Gourav Shah gs@initcron.org wrote:

Nikhil,

I recommend using AWS OpsWorks instead of CloudFormation. Besides
Opsworks supports Chef recipes for deployment. So basically you provision
AWS components and then use Chef recipes to do whatever you want on the
ec2.

Thanks
Gourav
Founder, Initcron
www.initcron.com

On Tue, Dec 3, 2013 at 8:53 PM, Nikhil Shah nshah@theorchard.comwrote:

Hey Folks,

I was wondering which approach to take (chef,opscode,cloud formation,
or a variation). I am trying to build a stack utilizing RDS, VPC/EC2/, FW,
and possibly setting up raids on the volume. I was wondering if this is
something I can utilize chef with or would it be more beneficial to use
something like opscode or cloud formations since it all resides in the
Amazon infrastructure. With that said, does chef even support RDS
implementations?

Thanks in advance.

--

  • Nikhil Shah */ System Administrator

nshah@theorchard.com

The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.comhttp://www.dailyrindblog.com/

Facebook http://www.facebook.com/theorchard / @orchtweetshttp://www.twitter.com/orchtweets

Privileged And Confidential Communication.

This electronic transmission, and any documents attached hereto, (a)
are protected by the Electronic Communications Privacy Act (18 USC §§
2510-2521), (b) may contain confidential and/or legally privileged
information, and (c) are for the sole use of the intended recipient named
above. If you have received this electronic message in error, please notify
the sender and delete the electronic message. Any disclosure, copying,
distribution, or use of the contents of the information received in error
is strictly prohibited

--

  • Nikhil Shah */ System Administrator

nshah@theorchard.com

The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com http://www.dailyrindblog.com/

Facebook http://www.facebook.com/theorchard / @orchtweetshttp://www.twitter.com/orchtweets

Privileged And Confidential Communication.

This electronic transmission, and any documents attached hereto, (a) are
protected by the Electronic Communications Privacy Act (18 USC §§
2510-2521), (b) may contain confidential and/or legally privileged
information, and (c) are for the sole use of the intended recipient named
above. If you have received this electronic message in error, please notify
the sender and delete the electronic message. Any disclosure, copying,
distribution, or use of the contents of the information received in error
is strictly prohibited