Release: AWS CloudFormation on 2012-06-11

Release Notes>AWS CloudFormation>Release: AWS CloudFormation on 2012 06 11
AWS CloudFormation now provides full support for IAM roles for EC2 instances.


Release Date: June 11, 2012 11:00 PM GMT
Latest Version: 2010-05-15
Created On: June 12, 2012 3:06 AM GMT
Last Updated: June 12, 2012 3:06 AM GMT

New Features in AWS CloudFormation

Identity and Access Management (IAM) Roles for EC2 Instances

AWS CloudFormation now allows you to use IAM Roles for EC2 instances to enable applications running on an Amazon EC2 instance to securely access your AWS resources.

New resources are available to support IAM roles:

New template snippets have also been added to the documentation with examples demonstrating the use of IAM roles.

Spot Prices for EC2 Instances with AutoScaling Groups

AWS CloudFormation now provides support for setting a spot price on EC2 Instances with AutoScaling. You can set a target maximum price and your instances will run only when the current spot price is less than your target maximum.

The following CloudFormation resource types have been updated to support spot instances:

A number of CloudFormation templates have been updated to support setting the spot price:

  • The StarCluster template has been updated to include the spot price as a parameter and to pass it in to the starcluster command, as shown here:

    /usr/bin/starcluster -c /home/ec2-user/.starcluster/config start -b ", { "Ref" : "SpotPrice" }, " ec2-cluster"

  • The Bees With Machine Guns template creates a swarm of "bees" (EC2 micro-instances) to load-test your web site. It includes a SpotPrice value in AWS::AutoScaling::LaunchConfiguration to limit the price at which the swarm will launch.

  • The Asynchronous Processing template adjusts the number of workers (EC2 instances) that are pulling data from an SQS queue, increasing the number of workers when the queue depth rises above a certain level and reducing it when the number of empty polls on the queue starts to grow. This template also includes a SpotPrice to limit the price at which the workers will launch.

For more information about these templates and for more information about using spot prices with your EC2 instances, see Jeff Barr's blog post on the Amazon Web Services Blog, and Using Auto Scaling to Launch Spot Instances in the AutoScaling Developer Guide.

Documentation Updates

Elastic Network Interface (ENI)

The documentation has been updated with information about using EC2 Elastic Network Interfaces (ENI) with CloudFormation. New topics are:

A template snippet using these features can be viewed in the CloudFormation documentation. For details, see: Elastic Network Interface (ENI) Template Snippets.

Fixes to AWS CloudFormation Resources and Types

A number of topics have been updated with new information and/or fixes:

©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.