November 12, 2014 | Las Vegas David Winter, Alex Corley—Amazon Web Services Tom Wanielista—Simple.com
Jul 02, 2015
November 12, 2014 | Las Vegas
David Winter, Alex Corley—Amazon Web Services
Tom Wanielista—Simple.com
echo "Bulding Instance"
echo "ec2run $ami -t m2.2xlarge -n 1 -k $ec2region -g $sec -s
$new_subnetID"
ec2run $ami -t $ec2type -n 1 -k $ec2region -g $sec -s $new_subnetID
| tee log/new_instance
cat log/new_instance
i=`cat log/new_instance | grep INSTANCE | cut -f2`
sleep 5
echo "Creating eth1 network interface for $i"
echo ec2-create-network-interface -d "$hostname - eth1" -g $sec
$new_subnetID
ec2-create-network-interface -d "$hostname - eth1" -g $sec
$new_subnetID | tee log/new_nic
nic=`cat log/new_nic | grep NETWORKINTERFACE| cut -f2`
#Main Instance
if wf and wf['workflow']['instance'] == 0:
try:
self.stacks.update({'guid':wf['guid']},
{'$set':{'workflow.instance':2}})
reservation =
self.ec2_master.run_instances(wf['stack']['ami'],
instance_type=wf['stack']['instance_type'],
security_group_ids=[wf['stack']['security_group']],
subnet_id=wf['stack']['subnet_id'])
aws.amazon.com/security/
Network
Compute
Storage
Dev
Stage
Prod
Tom Wanielista
Prehistory
PCI
What we needed
Security
Insight
Growth
Speed
AWS CloudFormation
Amazon Virtual Public Cloud,
Amazon Machine Images (AMIs),
AWS Identity and Access Management (IAM) roles,
Instances, Auto Scaling Groups (ASGs),
Security Groups …
cloudbank
Simple’s AMIs, IAM roles, instances,
ASGs, security groups …
Benefits?
You write code every day.
<my_app/>
http://bit.ly/awsevals