Technical musings from an opinionated Platform Engineer/Leader
Netflix OSS: Building an Asgard AMI on AWS
Update (2015-08-10): Lately I have been using a very basic Vagrant/Virtualbox config for Asgard needs. This config is easily applied to an Amazon instance, and you might be interested in the details of Using Asgard in a virtual machine.
Prerequisites
- AWS Account
- AWS EC2 Keypair
- AWS Access Key (IAM - not root account)
- AWS Account Number
- Some SSH familiarity
Intro
I’m going to build an Asgard instance from a baseline Ubuntu LTS, if you want to skip directly to a functioning Asgard AMI, grab my latest Asgard AMIs here.
…Netflix Asgard 1.2 AMI Updates
Update (2015-08-10): Lately I have been using a very basic Vagrant/Virtualbox config for Asgard needs. This config is easily applied to an Amazon instance, and you might be interested in the details of Using Asgard in a virtual machine.
Updated Asgard 1.2 AMIs are available for Ubuntu 12.04.2LTS and Amazon Linux 2013.03. These AMIs include system updates as well as the 1.2 Asgard war.
These AMIs default to HTTPS only (so you’re security group needs at least 443 access from your IP; add port 22 if you want to make changes via SSH), and use basic authentication to protect access. Basic authentication is configured with user ’netflix’ and password ’netflix’. Add your IAM creds, and let Asgard do the work! Note that micro instances might have some trouble running this. Connect over SSH as user ’netflix’ using your configured keypair. More details about the instance config are available in an earlier post under Getting Started.
…Moving to the AWS Cloud
So you want to move to the cloud. You’ve read about it; you like the pretty pictures. You tasted the Kool-Aid, and you know it’s good (but it still feels so wrong). You carefully digest all the somewhat detailed accounts about how it can be an easy step-by-step move to the cloud.
It isn’t easy, but it’s not impossible. Adrian’s notes above give you a really good skeleton, but I think there are few important points missing. I’ll run with Adrian’s numbering scheme, since it seems to be a popular reference point.
…Netflix Asgard AMI Updates
*** UPDATE: Be sure to check for updated AMIs. Some updates include newer Asgard versions, others include optimizations and enhancements to the AMI itself. ***
Updated Asgard AMIs are available for Ubuntu 12.04.2LTS and Amazon Linux 2013.03. These are minor updates, and while I’m deprecating the original releases, there’s no reason to upgrade if you are using the previous AMI with no issues.
Netflix OSS: Asgard 1.1.2 - AMIs
Asgard 1.1.2: Ubuntu 12.04LTS -
…Netflix Asgard Amazon Linux 201303 (Release 1.1.1.01)
*** UPDATE: Be sure to check for updated AMIs. Some updates include newer Asgard versions, others include optimizations and enhancements to the AMI itself. ***
Netflix OSS: Asgard Amazon Linux (1.1.1.01)
US-East (VA): ami-17761e7e US-West (OR): ami-1bfe6f2b
This is a pre-built, public AMI that provides Netflix OSS: Asgard on Amazon Linux. This AMI is free to use, and I will do my best to support and update it. For general Asgard/AWS questions, the Asgard email group or Asgard wiki are good starting points.
…