0
votes
1answer
19 views

AWS reserved instance AZ matching Cloud Formation AZ

When purchasing reserved instance, I had to choose availability zone (1 out of 3). In our Cloud Formation template we don't specify availability zone (seems like a right thing to do in case one AZ ...
0
votes
1answer
29 views

Continuously deploying a Symfony app on Cloudformation

My current plan is to begin hosting my team's Symfony-based app on a load-balanced, autoscaling group generated via Cloudformation. When someone on my team pushes to our Github repo, I would like ...
0
votes
1answer
53 views

Why would you use AWS Elastic Beanstalk in conjunction with AWS CloudFormation?

It states here of Elastic Beanstalk and CloudFormation that... These services are designed to complement each other. From my reading, I don't understand why you would want to use them together. ...
1
vote
1answer
44 views

How do I create DNS entries for EC2 instances created by Auto Scaling?

I'm looking into using auto scaling groups for a tier of webservers that would be fronted by an ELB. One of the things I'm having a hard time with is how to give each new instance the proper DNS ...
1
vote
1answer
75 views

Amazon CloudFormation: How to get an ELB's private IP for a specific subnet?

TL;DR - Is it possible for a CloudFormation template to insert the subnet-specific internal IP address of a specific ELB into the UserData of an instance within that subnet? We have a fleet of EC2 ...
1
vote
2answers
120 views

Aws vpc default route table in CloudFormation

Am I missing something but is there no way to add a route via CloudFormation to the default route table that comes provisioned with a VPC?
1
vote
1answer
132 views

How can I reuse existing resources in CloudFormation?

I've have S3 bucket as resource in my CloudFormation template. With DeletionPolicy set to Retain. This works as expected, when deleting the stack, it does indeed retain the bucket. However, when I ...
0
votes
0answers
93 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. ...
1
vote
2answers
54 views

in cloudformation is it possible to create a reusable string?

i have a string the is formed from a number of variables which i use for many different things such as Tags and host names. is there a way of creating a reusable string that i can just Ref though ...
0
votes
1answer
61 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
1answer
56 views

Link AWS Resource to a CloudFormation stack

I have a Cloudformation Stack launch an Amazon AMI instance. Once this instance is started, I create an IAM user from a script (aws iam create-user --user-name blah). My issue is that when I delete ...
1
vote
0answers
45 views

AWS Cloudformation issue installing custom binaries

I'm trying to install a custom compiled package that I have in S3 as a zip file. I added this on my Cloudformation template: "sources" : { "/opt" : ...
1
vote
3answers
276 views

AWS Cloudformation - can't add multiple subnet associations to a public routing table

We have a VPC with an Internet Gateway. We have 3 subnets (one in each AZ) and want to use one routing table for all three. This RT contains a rule to route 0.0.0.0/0 to the igw however when we try ...
1
vote
1answer
106 views

What sort of updates do ELB properties support (for CloudFormation)?

Question: What type of updates do each ELB property support? I'm reading through the ELB CF docs: AWS::ElasticLoadBalancing::LoadBalancer ...
3
votes
1answer
405 views

AWS Cloud Formation.Requires capabilities : [CAPABILITY_IAM] (Child Stack)

IMPORTANT I'm building the TemplateURL dynamically. "TemplateURL" : { "Fn::Join" : ["", [ { "Ref" : "TemplateURL"}, "substack.template" ]] } I'm running a CloudFormation template in the AWS ...
2
votes
1answer
564 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 ...
0
votes
0answers
138 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
196 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
267 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
0answers
31 views

Cloudformation Resource for a Cross Region S3 bucket policy [duplicate]

I know this is somewhat a duplicate of Cross Region S3 bucket policy but I don't have enough rep to comment and the answer wasn't detailed enough. I would like to allow EC2 servers based in ...
0
votes
1answer
148 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
1answer
42 views

Why is my Cloudformation script not starting apache?

I'm trying to create an instance to run apache, and everything seems to be working, but the web server is not being started. It starts up fine manually. If I reboot the instance, it does not ...
0
votes
1answer
77 views

package management via AWS CloudFormation

I am trying to remove packages using a cloud formation template. I have and can install it using the both packages and files structures but I need to remove one and install a different version. i.e. ...
3
votes
2answers
694 views

Why doesn't the aws cloud formation install the packages that I specify?

I'm very new to the AWS services. I'm trying to use the AWS cloud formation and I created a template. The template is error free and I am able to create machines using that. But I have added some ...
0
votes
1answer
497 views

Download single files from GitHub in CloudFormation template

Within my CloudFormation template, I would like to download text files from GitHub. When I examine the downloaded files is encoded/encrypted content instead of plain text. It doesn't seem like it ...
2
votes
1answer
179 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
2k 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
355 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 ...
2
votes
1answer
476 views

Bootstrapping in CloudFormation with Autoscale

My CloudFormation template creates an autoscale group and bootstrap it with utility script /opt/aws/bin/cfn-init. When I remove the bootstrap part out of my template the, autoscale get created without ...
1
vote
1answer
2k 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
2k 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 ...
3
votes
1answer
462 views

Can an AWS CloudFormation create a KeyPair to subsequently use when starting instances?

I would like to launch my stack using a keypair that is created as part of the CloudFormation. Is that possible? .... "Resources": { "ReverseProxyKeyPair": { "Type": ...
1
vote
1answer
403 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
1k 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
1answer
341 views

Can you create a wordpress cluster with Amazon Cloudformation?

DOes it work? Do I just need to create new machines with the same template or would it not work because they all need one SQL backend?
1
vote
2answers
813 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
397 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 ...