Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to create a link or "saved profile" for launching an EC2 instance with a given configuration?

I'm aware of the mechanism where you can create a link to launch a given AMI, i.e. However, there are still a lot of configuration steps left (instance type, security group, etc).

Is there anyway to automate this process, in such a way that it can be launched by an arbitrary Amazon account?

share|improve this question
up vote 2 down vote accepted

You should look into AWS CloudFormation.

The idea is that you create a JSON "template" document that describes the resources (EC2 instance, EBS volumnes, security groups, RDS services, etc) for a given "stack". The JSON document can be more-or-less independent of a specific account. You can also specify configuration prompts (which region to launch in, etc) to collect additional information from whomever is actually launching the stack.

From the AWS CloudFormation page:

Create additional stacks (if needed) by simply using existing templates you’ve created, choosing from one of our sample templates, or creating a new one from scratch. Since templates are text files that can be created and managed outside of CloudFormation, you can share them easily through email, source control repositories, or services such as Amazon S3.

share|improve this answer
Good call, I hadn't thought of this. – ceejayoz Dec 19 '12 at 20:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.