Amazon Cloud Computing Tutorial
- Cloud Computing
- Everything as a Service (XaaS)
- Cloud Computing
- Services, Accounts, Credentials
- How to use the AWS Management Console
- EC2, S3, Elastic Beanstalk
- How to use AWS programmatically
- EC2, S3, SQS, SDB
- For this workshop a personal notebook is necessary.
- If you use Windows, please prepare the program "PuTTY" for this workshop:
In the last couple of years cloud computing has achieved an important status in the IT scene.
The renting of computing power, storage and applications according to requirements is regarded as future business.
This tutorial course gives an introduction of the basic concepts of the Infrastructure-as-a-Service (IaaS) model
based on the cloud offerings provided by Amazon, one of the present leading commercial cloud computing providers.
Definition of Cloud Computing by NIST:
- Rapid Elasticity: the ability to scale resources both up and down as needed. To the consumer, the cloud appears to be infinite.
- Measured Service: In a measured service, aspects of the cloud service are controlled and monitored by the cloud provider. This is crucial for billing, access control, resource optimization, capacity planning and other tasks.
- On-Demand Self-Service: The on-demand and self-service aspects of cloud computing mean that a consumer can use cloud services as needed without any human interaction with the cloud provider.
- Broad Network Access: the cloud provider’s capabilities are available over the network and can be accessed through standard mechanisms.
- Resource Pooling: Resource pooling allows a cloud provider to serve its consumers via a multi-tenant model. Physical and virtual resources are assigned and reassigned according to consumer demand. There is a sense of location independence in that the customer generally has no control or knowledge over the exact location of the provided.
- Infrastructure as a Service (IaaS)
- Platform as a Service (PaaS)
- Software as a Service (SaaS)
- Public Cloud
- Private Cloud
- Hybrid Cloud
AWS Management Console
The Management of several popular services by AWS is possible with the web-based Management Console:
Workshop Exercise: Management of EC2 and S3
- Security Groups
- Elastic IPs
- EC2 Instances
- Instance Type
- User Data Scripts
- Meta-Data Service
- S3 Buckets
- Flat Hierarchy
- Bittorrent functionality
Motivation: New York Times - TimesMachine (Archive 1851-1922)
Workshop Exercise: Performing Rendering Jobs
- Rendering Software: POV-Ray http://www.povray.org/
- Animation Samples: POVRay Short Code Contest #5 - The animation round! http://paulbourke.net/exhibition/scc5/final.html
- AWS Services involved: EC2, S3, SQS, SDB
- AWS Interface: boto http://boto.cloudhackers.com/
- create a queue and store messages for rendering jobs (animationname,framenumber,s3bucket,sdbdomain)
- start several EC2 instances, use user_data to provide user credentials and queuename to each instance
- ec2 instances will start to download messages from the queue and render the frames
- the created frames will be stores in a S3 bucket, the rendering time will be stores in a SDB domain
- get the created frames from S3 and look to the data of the SDB domain
- create the video and try to analyze the rendering time of different ec2 instance types