Services - AWS CloudFormation

Services

The service sample templates show you how you can use AWS CloudFormation with other AWS services.

Auto Scaling

Template name Description View View in Designer Launch
Load-based auto scaling Creates an Auto Scaling group with scaling policies that are based on CPU usage in order to start and stop Amazon EC2 instances, which span multiple Availability Zones. This template also uses Auto Scaling notifications so that you are emailed when scaling events occur. View View in Designer
Time-based auto scaling (scheduled actions) Creates an Auto Scaling group with recurring schedules that change the minimum and maximum number of Amazon EC2 instances in the group. View View in Designer
Auto Scaling group with an update policy Creates an Auto Scaling group with an update policy that keeps 2 instances running during a rolling update. View View in Designer

AWS Batch

Template name Description View View in Designer Launch
AWS Batch "Hello World!" Creates an AWS Batch compute environment, job queue, and job definition for a simple "Hello World" batch job. When the job is submitted, it echoes "hello world" and exits. You can modify the job definition to run your own Docker container and/or batch scripts. View View in Designer
AWS Batch High and Low Priority Job Queues Creates a low priority job queue that is mapped to an Amazon EC2 Spot compute environment, and a high priority job queue that is mapped to an On-demand compute environment as well as the Spot compute environment. There are two job definitions: one to mimic a testing job definition, and another to mimic a high-importance application job (each job echoes its name and then exits). You can modify the job definition to run your own Docker container and/or batch scripts. View View in Designer

AWS Config

Template name Description View View in Designer Launch
AWS Config delivery channel and rules Creates an Amazon EC2 volume and an AWS Config rules that check if all Amazon EC2 volumes have the required tag and enable auto I/O. View View in Designer

Amazon DocumentDB

Template name Description View View in Designer Launch
Amazon DocumentDB Cluster Creates a Amazon DocumentDB cluster and primary instance. View View in Designer

Amazon DynamoDB

Template name Description View View in Designer Launch
DynamoDB table Creates a simple DynamoDB table. View View in Designer
DynamoDB with secondary indexes Creates a DynamoDB table with a global and local secondary index. View View in Designer

Amazon EC2

Template name Description View View in Designer Launch
Amazon EC2 instance in a security group Creates an Amazon EC2 instance in an Amazon EC2 security group. View View in Designer
Amazon EC2 instance with an Elastic IP address Creates an Amazon EC2 instance and associates an Elastic IP address with the instance. View View in Designer
Amazon EC2 instance with an ephemeral drive Creates an Amazon EC2 instance with an ephemeral drive by using a block device mapping. View View in Designer

Amazon ElastiCache

Template name Description View View in Designer Launch
ElastiCache Memcached Creates an ElastiCache cache cluster with the Memcached engine and deploys a sample PHP application that connects to the cache cluster. View View in Designer
ElastiCache Redis Creates an ElastiCache cache cluster with the Redis engine and deploys a sample PHP application that connects to the cache cluster. View View in Designer

AWS Elastic Beanstalk

Template name Description View View in Designer Launch
Elastic Beanstalk sample application with a database Creates an Elastic Beanstalk that connects to an Amazon RDS database instance. View View in Designer
Elastic Beanstalk Node.js sample application Creates a sample Elastic Beanstalk Node.js application. View View in Designer
Elastic Beanstalk application in a Amazon Virtual Private Cloud Creates an Elastic Beanstalk environment in a VPC. View View in Designer

Elastic Load Balancing

Template name Description View View in Designer Launch
Load-balanced Auto Scaling group Creates an Elastic Load Balancing load balancer and an Auto Scaling group that receives traffic only from the load balancer. View View in Designer
Load-balanced website with sticky sessions Creates a load-balanced sample website that ensures all requests coming from a user during a session are sent to the same application instance. View View in Designer
Load balancer with connection draining and saved access logs Creates an Elastic Load Balancing load balancer that completes all in-flight requests to deregistered or unhealthy instances. The load balancer also sends access logs to an Amazon S3 bucket. View View in Designer
Load-balanced Auto Scaling group with an update policy and Elastic Load Balancing health check Creates a cross-zone Elastic Load Balancing load balancer and an Auto Scaling group with an update policy that keeps at least two instances running while performing a rolling update. The update proceeds only when the Elastic Load Balancing health check detects that the updated instances are in service. View View in Designer

AWS Identity and Access Management

Template name Description View View in Designer Launch
IAM users and groups Creates multiple IAM users and groups with different policies. View View in Designer

AWS OpsWorks

Template name Description View View in Designer Launch
Basic AWS OpsWorks stack Creates an AWS OpsWorks stack, layer, instances and associated resources to run a PHP application. View View in Designer
Load-balanced AWS OpsWorks stack in a Amazon VPC Creates an AWS OpsWorks stack with a load-balanced application that runs inside a VPC. View View in Designer

Amazon Relational Database Service

Template name Description View View in Designer Launch
Amazon RDS DB instance with provisioned IOPs Creates an Amazon RDS database instance with provisioned IOPs. View View in Designer
Amazon RDS DB instance with a read replica Creates an Amazon RDS database instance with a read replica. View View in Designer
Amazon RDS DB instance with a deletion policy Creates an Amazon RDS database instance with a deletion policy that specifies Amazon RDS to take a snapshot of the database before deleting it. View View in Designer
Amazon RDS DB instance with a database parameter group Creates an Amazon RDS database instance with a database parameter group. View View in Designer

Amazon Redshift

Template name Description View View in Designer Launch
Basic Amazon Redshift cluster Creates an Amazon Redshift cluster. View View in Designer
Amazon Redshift cluster in an Amazon VPC Creates an Amazon Redshift cluster in a VPC. View View in Designer

Amazon Route 53

Template name Description View View in Designer Launch
Route 53 A record Creates an Route 53 A record that maps to the public IP address of an Amazon EC2 instance. View View in Designer
Route 53 CNAME record Creates an Route 53 CNAME record. View View in Designer
Route 53 weighted records Creates Route 53 weighted CNAME records. View View in Designer

Amazon Simple Storage Service

Template name Description View View in Designer Launch
Amazon S3 bucket with a deletion policy Creates a publicly accessible Amazon S3 bucket that is configured for website access. The bucket is retained even if the stack is deleted. View View in Designer
Amazon S3 website Creates a website hosted on Amazon S3 with a custom DNS name. View View in Designer

Amazon Simple Queue Service

Template name Description View View in designer Launch
Amazon SQS queue with Amazon CloudWatch alarms Creates an Amazon SQS queue with CloudWatch alarms that monitor the queue depth. View View in designer
Amazon Simple Notification Service topic that sends messages to Amazon SQS queues Creates an Amazon SNS topic that can send messages to two Amazon SQS queues and two IAM users: one that has permission to publish to the topic and another that has permission to read messages from the queues. View View in designer

Amazon Virtual Private Cloud

Template name Description View View in designer Launch
A single Amazon EC2 in an Amazon VPC Creates a VPC and adds an Amazon EC2 instance with an Elastic IP address and a security group. View View in designer
Amazon VPC with static routing to an existing VPN Creates a private subnet with a VPN connection that uses static routing to an existing VPN endpoint. View View in designer
Autoscaling and load-balancing website in an Amazon VPC Creates a load balancing, auto scaling sample website in an existing VPC. View View in designer
Amazon VPC with DNS and public IP addresses Creates a VPC with DNS support and public IP addresses enabled. View View in designer
Publicly accessible Amazon EC2 instances that are in an Auto Scaling group Creates a load balancing, autoscaling group with instances that are directly accessible from the Internet. View View in designer
Amazon EC2 with multiple dynamic IP addresses in an Amazon VPC Creates an Amazon EC2 instance with multiple dynamic IP addresses in a VPC. View View in designer
Amazon EC2 with multiple static IP addresses in an Amazon VPC Creates an Amazon EC2 instance with multiple static IP addresses in a VPC. View View in designer