0
votes
0answers
32 views

AWS Cloudformation Bootstraping with S3 File and Autoscaling

I just started trying to use CloudFormation and am using it for some autoscaling. I am new to all this so bare with me. I am using the sample template for autoscaling found here. ...
0
votes
1answer
36 views

Expand Amazon EC2 HVM root partition

I created a VM with the Amazon AMI HVM. In the partition configuration I changed the default 8GB root partition to something bigger (10 in my example). Once up, I'm trying to resize but it's not ...
0
votes
1answer
27 views

Cloud Formation init script cfn-init cancellation

I used to Drupal Cloud Formation sample template to create my Drupal based web site. But now every time my EC2 instance reboot Cloud Formation helper script cfn-init reloads original Drupal ...
0
votes
2answers
50 views

Cloudformation Add Instance to Security Group in Different Region

I have a Cloudformation stack that I create through Jenkins in various Regions. I have a Chef server in one Region with a separate security group. I need new instances created via Cloudformation to ...
2
votes
1answer
328 views

AWS CloudFormation: VPC default security group

I have a cfn stack that (among other things), creates a VPC, several security groups, and a handful of EC2 instances. It's trivial to assign security groups that are created within the stack to ...
1
vote
0answers
70 views

Is it possible to force Re-creation of EC2::Instance or RDS::DBInstance in amazon cloudformation?

It's possible to force the re-creation of a EC2 or RDS instance using cloudformation stacks? My stack goes stuck in a point where simply destroying and creating the resource will fix it, instead of ...
0
votes
0answers
111 views

Creating N EBS volumes with CloudFormation/AutoScaling

I can explicitly create an EBS volume in a CloudFormation template using a resource of type AWS::EC2::Volume. I can also create per-instance EBS volumes using BlockDeviceMapping properties on ...
0
votes
1answer
125 views

Cloud formation - updating a stack behind an elb doesnt update the AMI

We are powering our AWS EC2 instances using cloud formation. We have 3 different stacks - testing, staging and production. Our workflow to update the images for any of the stacks is as follows: ...
1
vote
1answer
382 views

Cloudformation Ephemeral (Instance) Storage for instance

I am trying to launch an EC2 Instance with CloudFormation that uses ephemeral / instance storage rather than EBS. I have managed this with Opsworks - so that in the EC2 management window "root ...
1
vote
1answer
184 views

Amazon CloudFormation - is there an elegant shutdown and delete instances?

I have recently been recently using Amazon's CloudFormation to launch instances of EC2 Ubuntu machines running MongoDB. When it comes to deleting the stack it often fails I guess due to not being ...
0
votes
1answer
97 views

How to get the correct hostname when using ElasticIP in a CloudFormation template

I am using an elastic ip in a CloudFormation template "ServerEIP" : { "Type" : "AWS::EC2::EIP", "Properties" : { } }, Later on I have an EC2 Instance "Server" : { "Type" : ...
0
votes
2answers
346 views

How to make IP address known on both instances in an Amazon CloudFormation template

I have multiple instances in an Amazon CloudFormation template and am trying to connect them together via the UserData, i.e. tell each other the IP Address of the other machine. The template looks ...
2
votes
1answer
141 views

Is it possible to update an existing EC2 security group from CloudFormation?

I have a manually created security group to access Redis, and I am creating a LAMP stack with AWS CloudFormation. I need to update the Amazon EC2 security group from Redis to allow access from this ...
0
votes
2answers
1k views

How to change the computer name on a server configured by Puppet

I am new to Puppet and I'm trying to get Puppet to configure my EC2 instances after they're started from a Cloud Formation Template in AWS. The problem is that all the nodes that get started from the ...
0
votes
1answer
308 views

Persistent Spot Instance Request with CloudFormation

Is it possible to create "Persistent Spot Instance" with AWS CloudFormation ? I'm going through the Autoscale and EC2 CloudFormation's template references but there is no mention how to set a property ...
1
vote
1answer
181 views

How do I delete aws s3 bucket policy?

I've mistakenly configured a bucket policy with a name of nonexisting bucket (via cloudformation). Now I can't delete the stack (S3::DeleteBucketPolicy failed), and can't find any way to delete the ...
1
vote
1answer
1k views

Cloudformation with Ubuntu throwing errors

I have been doing some reading and have come to the understanding that if you wish to use a launchConfig with Ubuntu you will need to install the cfn-init file yourself which I have done: ...
2
votes
3answers
1k views

CloudFormation/EC2 - access IP address of EC2 instance in the template?

i'm trying to define a cluster of Cassandra nodes, together with some other instances ( some middleware and app servers ). I'd like to be able to add the ( internal ) IP addresses of the Cassandra ...
1
vote
1answer
1k views

How do I associate an ssh key pair with the instance created by a stack in Amazon CloudFormation?

Previously I have created an EC2 instance based on an image. During the creation process the Amazon wizard created a key pair and then provided it to me so I could connect. Now I am trying to use ...
1
vote
1answer
367 views

AWS Cloud formation plus auto scaling

I have created a cloud formation script to launch two instances, attach a volume on startup, and setup a load balancer. Now I am looking at setting up auto scaling and I am confused by the launch ...
1
vote
1answer
976 views

cloudformation bootstrap with puppet and ubuntu server

I've looked over the Puppet Master Cloudformation Template and understand it is using CloudInit baked into the Amazon Linux AMI. However, I'd like to use an existing Ubuntu 11.10 server image and ...
1
vote
2answers
712 views

How do I specify in an AWS Cloudformation template that my t1.micro instances are 64-bit architecture

I am attempting to write my first cloudformation template. I am basing it on the ELB example. In my case I will have 64-bit instances only, t1.micro sized. However I cannot see where to specify that ...
3
votes
1answer
380 views

How to connect instances in CloudFormation

We would like to create a template for a fairly standard stack in AWS. We need three layers. Layer: Elastic Load Balancer Layer: several web servers which are created / destroyed according to alarms ...