forked from Netflix/asgard
-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Start Guide
gorzell edited this page Jun 18, 2012
·
20 revisions
- Ensure there is at least one EC2 SSH key pair in your AWS account.
- Create a key pair using the AWS Management Console.
- See Amazon's documentation for help using the key pair to gain SSH access to your EC2 instances.
- Download the latest war from http://netflix.github.com/asgard/
- If your browser changes the file extension "jar" then change it to "war".
- asgard-1.0.jar -> asgard-1.0.war
- Download and expand the latest stable Apache Tomcat from http://tomcat.apache.org/
- Delete the contents of apache-tomcat-x/webapps/
- Copy asgard-x.x.war into apache-tomcat-x/webapps/
- Set the context root and port. See Tomcat Configuration.
- Run apache-tomcat-x/bin/startup.sh
- See Troubleshooting if there is a problem
- Open a browser and go to http://localhost:8080 (or the port you chose)
- If the server has never run Asgard before you should see a form requesting your AWS credentials.
- This is a shortcut for creating a minimal Asgard configuration in a default location on your server. You can modify the configuration file later.
- If your AWS account already owns Amazon Machine Images (AMIs) that you launch, then uncheck "Use public Amazon images" in order to remove clutter from your image lists.
- Enter your credentials and wait for the server to load and cache data from the AWS. The screen should refresh automatically when loading is complete after a few minutes.
- Click "App"
- Click "Create New Application"
- Name: "helloworld"
- Description: "Example application"
- Owner: <your name>
- Email: <your email address>
- Leave the drop-downs unchanged
- Submit the form by clicking "Create New Application" at the bottom
- On the Application Details screen, click "Edit Application Security"
- Leave the checkboxes empty
- Submit the form by clicking "Update Security Groups" at the bottom
- Click "Cluster"
- Click "Create New Auto Scaling Group"
- Select the "helloworld" application
- Notice the name preview changes
- Scroll down to the "Launch Configuration" section
- Change the AMI Image ID to the AMI that you want to deploy as your helloworld example.
- Select the helloworld security group
- Submit the form by clicking "Create New Auto Scaling Group" at the bottom
A Netflix Original Production
Tech Blog | Twitter @NetflixOSS | Jobs