150 likes | 248 Views
Introduction and Getting Started guide Alex Zlotnik Technion. Products & Services. IAM Secure AWS Access Control RDS Managed Relational Database Service Route 53 Scalable Domain Name System S3 Scalable Storage in the Cloud SES Email Sending Service SNS Push Notification Service SQS
E N D
Products & Services IAM Secure AWS Access Control • RDS • Managed Relational Database Service • Route 53 • Scalable Domain Name System • S3 • Scalable Storage in the Cloud • SES • Email Sending Service • SNS • Push Notification Service • SQS • Message Queue Service • Storage Gateway • Integrates on-premises IT environments with Cloud storage • SWF • Workflow Service for Coordinating Application Components • VPC • Isolated Cloud Resources CloudFormation Templated AWS Resource Creation CloudFront Global Content Delivery Network CloudSearch (NEW) Fully Managed Search Service for Websites and Apps CloudWatch Resource & Application Monitoring DynamoDB Predictable and Scalable NoSQL Data Store EC2 Virtual Servers in the Cloud ElastiCache In-Memory Cache ElasticBeanstalk AWS Application Container Elastic MapReduce Managed Hadoop Framework
Regions North America Virginia Oregon North California Europe Ireland Asia-Pacific Singapore Tokyo South America Sao Paulo
EC2 Instance types 1 EC2 ~ 1.0-1.2 GHz 2007 Opteron or 2007 XeonPrices are of Linux instances in US-East (Virginia)
More details • Service Level Agreement (SLA) • 99.95% up time per region • Availability Zones within regions • Insulate failures • Low latency connectivity within zone and region • Storage • EBS • S3
Even more details • Auto Scaling • Elastic Load Balancing • Between zones • Amazon Machine Images • Save, scale out, test, rollback, share, VM import • Amazon Cloudwatch • Virtual Private Cloud • AWS Market Place
Live demo • Login to AWS console For Danny’s account users: • Go to URL in e-mail For personal account users: • http://aws.amazon.com/ • Login • Go to Amazon EC2 tab
Launching Instances • Click “Launch Instance” • Select Classic Wizard • Select an AMI (machine image) Suggestion: Start with Ubuntu Server 12.04 LTS(AMI #4 on quick start) • Select instance type (Suggestion: Start with Micro) • Check “Termination Protection” box • Set tags: Name: G1_XXX Owner: G1 • Select your key pair (Create if needed) • Select security policy (Suggestion: default) • Overview & Launch
Connecting to machines • Use the downloaded key pair file <XYZ>.pem • Unix: • Upload <XYZ>.pem • chmod 400 <XYZ>.pem (read only, only by you) • ssh -i <XYZ>.pemubuntu@<Machine public DNS> Eureka!!! • Windows: • Use puttygen: Load <XYZ>.pem, Save private key: <XYZ>.ppk • Use putty SSH Auth <XYZ>.ppk
Using the machines • javac The program 'javac' can be found in the following packages: * default-jdk * ecj * gcj-4.6-jdk * openjdk-6-jdk * gcj-4.5-jdk * openjdk-7-jdk Try: sudo apt-get install <selected package> • sudo apt-get install openjdk-7-jdk • Secure copy files scp-i<XYZ>.pem <files> ubuntu@<Machine’s DNS>:/home/ubuntu/ • Download fileswget <URL> • Don’t forget to Stop the machines!
Using AWS Eclipse Plugin • Install “AWS toolkit for Eclipse” http://aws.amazon.com/eclipse/ • (If there is an installation problem) Install data tools from http://download.eclipse.org/datatools/updates (DTP Update Site) • “Eclipse Data Tools Platform SDK 1.9.2”, And repeat step 1. • Open “Preferences” from drop down menu • Fill “Access Key ID” and “Secret Access Key” according to the ones you get in e-mail • Open AWS Perspective by clicking the orange box • See that Amazon EC2 Instances view is populated