SlideShare a Scribd company logo
1 of 45
Vitor Domingos
BOFH
vd
Vitor Domingos
http://vitordomingos.com
BOFH for 10 years
with telecom, bank & public
administration background
vd
Vitor Domingos
http://vitordomingos.com
Codebits
AWS ground zero: EC2 & S3 hands-on
39º
What I'm not going to talk
> AWS account
> Install linux, xen or any other tool mentioned
> Generate ssh key pairs or manage ssh keys
> EC2 for torrents or pr0n
> S3 for infinite backups
> AWS Security *
What I'm going to talk
> Cloud Computing
> AWS advantages
> EC2; create, upload, manage, backup, assign
ip address, available tools
> S3; create, manage, put/get, sync, available
tools
> Bonus
Cloud Computing
> grid-utility 2.0
> software as a service 2.0
> clients (firefox)
> application (google apps)
> platform (google app engine, heroku)
> service (openid, mechanical turk, gmaps)
> infrastructure
> storage
from wikipedia
AWS advantages
> Full cloud stack
> Cost effective, pay for what you use
> Dependable, use it as your work horse
> Flexible, scale up or down, on demand
> Use the services Luke
> Perfect for your codebits projects
Why do you buy and manage
hardware ?
Why are spending your investor
money ?
Werner Vogels, Amazon CTO
http://www.allthingsdistributed.com/
Lease, don't buy
SLA ?
Yes! But things can fail ...
from 9to5
EC2
> hardware on demand
> small, large, extra large, high-cpu medium or
large
> billed by core hour use and bandwidth
> fixed ip address
> xen based system
> runs almost everything (linux, solaris, win)
from amazon docs
EC2
> http://aws.amazon.com
> http://sourceforge.net/projects/elasticfox/
EC2 Lingo
> AMI; Amazon Machine Image
(stored on S3)
> Instance; your machine running
> Instance Store; limbo
> Elastic IP: fixed ip address
> SWBF; shutdown without backup and you're
fucked
> MuKnO; mess up keys and you're out
EC2 command line
> ec2-add-keypair ec2-keypair
> ec2-describe-images -o self -o amazon
> ec2-run-instances <ami_id> -k <keypair-name>
> ec2-describe-instances <instance_id>
> ec2-authorize default -p {80,22}
> ssh -i <private-keyfile> root@<dns_location>
EC2 bundling
> install ruby & ami-tools
https://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.noarch.rpm
> image
ec2-bundle-image -i <image_name>.img -k <private_keyfile> 
-c <certificate_file> -u <user_id>
> snapshot
ec2-bundle-vol -k <private_keyfile> -c <certificate_file> -u <user_id>
> upload
ec2-upload-bundle -b <bucket> -m image.manifest.xml 
-a <access_key> -s <secret_key>
> register
ec2-register mybucket/image.manifest.xml
EC2 extra stuff
> backup running instance
bundle-vol; upload-bundle
> assign ip address
ec2-associate-address -i <instance_id>
> reboot
ec2-reboot-instances <instance_id>
> terminate (remember SWBF)
ec2-terminate-instances <instance_id>
> register
ec2-register mybucket/image.manifest.xml
EC2 Tools
> Amazon AMI Tools
> Enomalism
> RightScale
> ElasticFox
> Your own ?
S3
> infinite storage
> free between EC2 instances
> billed by storage, data transfer & requests
> unique buckets
> up to 5GB per file
> metadata and serves itself
S3 lingo
> bucket; file containers
prtsc/photo.png -> http://prtsc.s3.aws.com/photo.png
> objects; fundamental entity, consists of
data and metadata
> keys; unique identifier for the object
> service endpoint; service host and port
S3 do & don'ts
> respect restrictions and limitations!!!
> don't fuckup access control list for the bucket
neither for the object
> don't delete unless you're sure
> sync; sync; sync
> export now & then
S3
> s3sync.net (ruby)
> S3 Firefox Organizer
> AWS S3
Key + ID
ruby used as curl interface ????
S3 command line
> s3cmd.rb listbuckets
> s3cmd.rb createbucket <name>
> s3cmd.rb list <bucket_name>
> s3cmd.rb delete <bucket_name>
> s3cmd.rb get|put <bucket:key> <file>
> s3sync.rb -r –progress <source> <destination>
S3 tools
> thousands, just google it
> s3bash FTW
> curl
> create your own ?
AWS is the starbucks of hardware
Bonus!!!!
> Xen how-to for freetards saying that AWS is
not opensource
> EC2 sandbox
> AWS UG
Xen
> CentOS (5.2) + xen 3.0.3
> libvirt, lvm, virt-manager
> AWS xen kernel
xvda vs sda
> persistence & time
EC2 sandbox
> OpenNebula
http://www.opennebula.org
> Nimbus
http://workspace.globus.org
> Haizea
http://haizea.cs.uchicago.edu
> DTC-Xen
http://www.gplhost.com
AWS Portuguese User Group
> Why not
> Share experiences
> Gather up
> Workshops
> Contact me: vd@7syntax.com
> I'll be around

More Related Content

What's hot

Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
Puppet
 

What's hot (20)

How to create a secured cloudera cluster
How to create a secured cloudera clusterHow to create a secured cloudera cluster
How to create a secured cloudera cluster
 
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
 
Webinar: Automate IBM Connections Installations and more
Webinar: Automate IBM Connections Installations and moreWebinar: Automate IBM Connections Installations and more
Webinar: Automate IBM Connections Installations and more
 
EKS에서 Opentelemetry로 코드실행 모니터링하기 - 신재현 (인덴트코퍼레이션) :: AWS Community Day Online...
EKS에서 Opentelemetry로 코드실행 모니터링하기 - 신재현 (인덴트코퍼레이션) :: AWS Community Day Online...EKS에서 Opentelemetry로 코드실행 모니터링하기 - 신재현 (인덴트코퍼레이션) :: AWS Community Day Online...
EKS에서 Opentelemetry로 코드실행 모니터링하기 - 신재현 (인덴트코퍼레이션) :: AWS Community Day Online...
 
Ansible
AnsibleAnsible
Ansible
 
Sitecore Docker XM&XP 9.2.0/9.3.0 SXA+JSS+PS
Sitecore Docker XM&XP 9.2.0/9.3.0 SXA+JSS+PSSitecore Docker XM&XP 9.2.0/9.3.0 SXA+JSS+PS
Sitecore Docker XM&XP 9.2.0/9.3.0 SXA+JSS+PS
 
Puppet Camp DC 2014: Keynote
Puppet Camp DC 2014: KeynotePuppet Camp DC 2014: Keynote
Puppet Camp DC 2014: Keynote
 
Building Python Applications on Windows Azure
Building Python Applications on Windows AzureBuilding Python Applications on Windows Azure
Building Python Applications on Windows Azure
 
AWS essentials EC2
AWS essentials EC2AWS essentials EC2
AWS essentials EC2
 
MySQL on AWS 101
MySQL on AWS 101MySQL on AWS 101
MySQL on AWS 101
 
Lab 1: Introduction to Amazon EC2 and MPI
Lab 1: Introduction to Amazon EC2 and MPILab 1: Introduction to Amazon EC2 and MPI
Lab 1: Introduction to Amazon EC2 and MPI
 
Moving Drupal to the Cloud
Moving Drupal to the CloudMoving Drupal to the Cloud
Moving Drupal to the Cloud
 
AWS essentials S3
AWS essentials S3AWS essentials S3
AWS essentials S3
 
Creating and Deploying Static Sites with Hugo
Creating and Deploying Static Sites with HugoCreating and Deploying Static Sites with Hugo
Creating and Deploying Static Sites with Hugo
 
Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015
 
How to implement a gdpr solution in a cloudera architecture
How to implement a gdpr solution in a cloudera architectureHow to implement a gdpr solution in a cloudera architecture
How to implement a gdpr solution in a cloudera architecture
 
Create Development and Production Environments with Vagrant
Create Development and Production Environments with VagrantCreate Development and Production Environments with Vagrant
Create Development and Production Environments with Vagrant
 
マイ丼5分クッキング
マイ丼5分クッキングマイ丼5分クッキング
マイ丼5分クッキング
 
Running OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech Japan
Running OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech JapanRunning OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech Japan
Running OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech Japan
 
Running OpenStack + MidoNet (Using Orizuru)
Running OpenStack + MidoNet (Using Orizuru)Running OpenStack + MidoNet (Using Orizuru)
Running OpenStack + MidoNet (Using Orizuru)
 

Similar to AWS ground zero; EC2 & S3 hands-on

Cloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWSCloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWS
Amine Sadry
 
Deploying Rails App On Ec2
Deploying Rails App On Ec2Deploying Rails App On Ec2
Deploying Rails App On Ec2
Akhil Bansal
 

Similar to AWS ground zero; EC2 & S3 hands-on (20)

Cloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWSCloud 101: Hands-on Heroku & AWS
Cloud 101: Hands-on Heroku & AWS
 
AWS Application Migration Service-Hands-On Guide
AWS Application Migration Service-Hands-On GuideAWS Application Migration Service-Hands-On Guide
AWS Application Migration Service-Hands-On Guide
 
Deploying Rails App On Ec2
Deploying Rails App On Ec2Deploying Rails App On Ec2
Deploying Rails App On Ec2
 
How to manage Azure with open source
How to manage Azure with open sourceHow to manage Azure with open source
How to manage Azure with open source
 
How to manage Microsoft Azure with open source
How to manage Microsoft Azure with open sourceHow to manage Microsoft Azure with open source
How to manage Microsoft Azure with open source
 
Azure serverless Full-Stack kickstart
Azure serverless Full-Stack kickstartAzure serverless Full-Stack kickstart
Azure serverless Full-Stack kickstart
 
CI/CD on pure AWS
CI/CD on pure AWSCI/CD on pure AWS
CI/CD on pure AWS
 
One-Man Ops
One-Man OpsOne-Man Ops
One-Man Ops
 
Supporting and Using EC2/CIMI on top of Cloud Environments via Deltacloud
Supporting and Using EC2/CIMI on top of Cloud Environments via DeltacloudSupporting and Using EC2/CIMI on top of Cloud Environments via Deltacloud
Supporting and Using EC2/CIMI on top of Cloud Environments via Deltacloud
 
A Tour of Google Cloud Platform
A Tour of Google Cloud PlatformA Tour of Google Cloud Platform
A Tour of Google Cloud Platform
 
Simple docker hosting in FIWARE Lab
Simple docker hosting in FIWARE LabSimple docker hosting in FIWARE Lab
Simple docker hosting in FIWARE Lab
 
How Small Can Java Microservices Be?
How Small Can Java Microservices Be?How Small Can Java Microservices Be?
How Small Can Java Microservices Be?
 
Basic Rails Training
Basic Rails TrainingBasic Rails Training
Basic Rails Training
 
Discovering OpenBSD on AWS
Discovering OpenBSD on AWSDiscovering OpenBSD on AWS
Discovering OpenBSD on AWS
 
Docker Registry + Basic Auth
Docker Registry + Basic AuthDocker Registry + Basic Auth
Docker Registry + Basic Auth
 
How to create your own hack environment
How to create your own hack environmentHow to create your own hack environment
How to create your own hack environment
 
AWS Cyber Security Best Practices
AWS Cyber Security Best PracticesAWS Cyber Security Best Practices
AWS Cyber Security Best Practices
 
Experts Live Switzerland 2017 - Automatisierte Docker Release Pipeline mit VS...
Experts Live Switzerland 2017 - Automatisierte Docker Release Pipeline mit VS...Experts Live Switzerland 2017 - Automatisierte Docker Release Pipeline mit VS...
Experts Live Switzerland 2017 - Automatisierte Docker Release Pipeline mit VS...
 
Docker for developers z java
Docker for developers z javaDocker for developers z java
Docker for developers z java
 
Ansible party in the [Google] clouds
Ansible party in the [Google] cloudsAnsible party in the [Google] clouds
Ansible party in the [Google] clouds
 

More from Vitor Domingos

Methods Digital Away Day at Guildford - Cloud Computing
Methods Digital Away Day at Guildford - Cloud ComputingMethods Digital Away Day at Guildford - Cloud Computing
Methods Digital Away Day at Guildford - Cloud Computing
Vitor Domingos
 
Harvardmd comunication
Harvardmd comunicationHarvardmd comunication
Harvardmd comunication
Vitor Domingos
 

More from Vitor Domingos (16)

Methods Digital Away Day at Guildford - Cloud Computing
Methods Digital Away Day at Guildford - Cloud ComputingMethods Digital Away Day at Guildford - Cloud Computing
Methods Digital Away Day at Guildford - Cloud Computing
 
My experience
My experienceMy experience
My experience
 
Catolica EBP - Talk
Catolica EBP - TalkCatolica EBP - Talk
Catolica EBP - Talk
 
Harvardmd comunication
Harvardmd comunicationHarvardmd comunication
Harvardmd comunication
 
Failure the mother of all success
Failure the mother of all successFailure the mother of all success
Failure the mother of all success
 
How to crunch data into beautiful graphics
How to crunch data into beautiful graphicsHow to crunch data into beautiful graphics
How to crunch data into beautiful graphics
 
Social Network Panorama
Social Network PanoramaSocial Network Panorama
Social Network Panorama
 
PT Google Technical User Group - Google TV
PT Google Technical User Group - Google TVPT Google Technical User Group - Google TV
PT Google Technical User Group - Google TV
 
Security is sexy again
Security is sexy againSecurity is sexy again
Security is sexy again
 
Confraria Security & IT - Mobile Security
Confraria Security & IT - Mobile SecurityConfraria Security & IT - Mobile Security
Confraria Security & IT - Mobile Security
 
Portuguese Cloud Computing Architects - 2nd Meeting
Portuguese Cloud Computing Architects - 2nd MeetingPortuguese Cloud Computing Architects - 2nd Meeting
Portuguese Cloud Computing Architects - 2nd Meeting
 
Open Data
Open DataOpen Data
Open Data
 
Security As A Service
Security As A ServiceSecurity As A Service
Security As A Service
 
Confraria Security 17 June - Cloud Security
Confraria Security 17 June - Cloud SecurityConfraria Security 17 June - Cloud Security
Confraria Security 17 June - Cloud Security
 
handivi presentation
handivi presentationhandivi presentation
handivi presentation
 
Products, Services or Platforms
Products, Services or PlatformsProducts, Services or Platforms
Products, Services or Platforms
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

AWS ground zero; EC2 & S3 hands-on

  • 3. BOFH for 10 years with telecom, bank & public administration background vd Vitor Domingos http://vitordomingos.com
  • 4. Codebits AWS ground zero: EC2 & S3 hands-on
  • 5.
  • 6.
  • 8. What I'm not going to talk > AWS account > Install linux, xen or any other tool mentioned > Generate ssh key pairs or manage ssh keys > EC2 for torrents or pr0n > S3 for infinite backups > AWS Security *
  • 9. What I'm going to talk > Cloud Computing > AWS advantages > EC2; create, upload, manage, backup, assign ip address, available tools > S3; create, manage, put/get, sync, available tools > Bonus
  • 10. Cloud Computing > grid-utility 2.0 > software as a service 2.0 > clients (firefox) > application (google apps) > platform (google app engine, heroku) > service (openid, mechanical turk, gmaps) > infrastructure > storage
  • 12. AWS advantages > Full cloud stack > Cost effective, pay for what you use > Dependable, use it as your work horse > Flexible, scale up or down, on demand > Use the services Luke > Perfect for your codebits projects
  • 13. Why do you buy and manage hardware ? Why are spending your investor money ? Werner Vogels, Amazon CTO http://www.allthingsdistributed.com/
  • 15. SLA ?
  • 16. Yes! But things can fail ...
  • 18. EC2 > hardware on demand > small, large, extra large, high-cpu medium or large > billed by core hour use and bandwidth > fixed ip address > xen based system > runs almost everything (linux, solaris, win)
  • 21. EC2 Lingo > AMI; Amazon Machine Image (stored on S3) > Instance; your machine running > Instance Store; limbo > Elastic IP: fixed ip address > SWBF; shutdown without backup and you're fucked > MuKnO; mess up keys and you're out
  • 22.
  • 23. EC2 command line > ec2-add-keypair ec2-keypair > ec2-describe-images -o self -o amazon > ec2-run-instances <ami_id> -k <keypair-name> > ec2-describe-instances <instance_id> > ec2-authorize default -p {80,22} > ssh -i <private-keyfile> root@<dns_location>
  • 24. EC2 bundling > install ruby & ami-tools https://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.noarch.rpm > image ec2-bundle-image -i <image_name>.img -k <private_keyfile> -c <certificate_file> -u <user_id> > snapshot ec2-bundle-vol -k <private_keyfile> -c <certificate_file> -u <user_id> > upload ec2-upload-bundle -b <bucket> -m image.manifest.xml -a <access_key> -s <secret_key> > register ec2-register mybucket/image.manifest.xml
  • 25. EC2 extra stuff > backup running instance bundle-vol; upload-bundle > assign ip address ec2-associate-address -i <instance_id> > reboot ec2-reboot-instances <instance_id> > terminate (remember SWBF) ec2-terminate-instances <instance_id> > register ec2-register mybucket/image.manifest.xml
  • 26. EC2 Tools > Amazon AMI Tools > Enomalism > RightScale > ElasticFox > Your own ?
  • 27. S3 > infinite storage > free between EC2 instances > billed by storage, data transfer & requests > unique buckets > up to 5GB per file > metadata and serves itself
  • 28. S3 lingo > bucket; file containers prtsc/photo.png -> http://prtsc.s3.aws.com/photo.png > objects; fundamental entity, consists of data and metadata > keys; unique identifier for the object > service endpoint; service host and port
  • 29. S3 do & don'ts > respect restrictions and limitations!!! > don't fuckup access control list for the bucket neither for the object > don't delete unless you're sure > sync; sync; sync > export now & then
  • 30. S3 > s3sync.net (ruby) > S3 Firefox Organizer > AWS S3 Key + ID
  • 31.
  • 32. ruby used as curl interface ????
  • 33. S3 command line > s3cmd.rb listbuckets > s3cmd.rb createbucket <name> > s3cmd.rb list <bucket_name> > s3cmd.rb delete <bucket_name> > s3cmd.rb get|put <bucket:key> <file> > s3sync.rb -r –progress <source> <destination>
  • 34. S3 tools > thousands, just google it > s3bash FTW > curl > create your own ?
  • 35. AWS is the starbucks of hardware
  • 36. Bonus!!!! > Xen how-to for freetards saying that AWS is not opensource > EC2 sandbox > AWS UG
  • 37.
  • 38.
  • 39. Xen > CentOS (5.2) + xen 3.0.3 > libvirt, lvm, virt-manager > AWS xen kernel xvda vs sda > persistence & time
  • 40.
  • 41.
  • 42.
  • 43.
  • 44. EC2 sandbox > OpenNebula http://www.opennebula.org > Nimbus http://workspace.globus.org > Haizea http://haizea.cs.uchicago.edu > DTC-Xen http://www.gplhost.com
  • 45. AWS Portuguese User Group > Why not > Share experiences > Gather up > Workshops > Contact me: vd@7syntax.com > I'll be around