INTRODUCTION TO AMAZON WEB SERVICES EC 2 AMAZON
INTRODUCTION TO AMAZON WEB SERVICES (EC 2)
AMAZON WEB SERVICES § Services § Storage (Glacier, S 3) § Compute (Elastic Compute Cloud, EC 2) § Databases (Redshift, Dynamo. DB) § Management Tools (Cloud. Watch, IAM) § Scalable § Pay for what you use
EC 2 § ‘Elastic’ § Load Balancing § IP Addresses § For HPC Clusters § Platforms: Linux and Windows
Credit: Amazon official blog:
INSTANCES § Virtual machine § Elastic Compute Units § Processing times
GIS AND EC 2 § Arc. GIS Server http: //aws. amazon. com/solutions/global-solutionproviders/esri/ § ERDAS APOLLO § Open. Geo http: //boundlessgeo. com/2010/09/opengeo-suitecommunity-edition-on-amazon-web-services/)
GETTING STARTED WITH AWS § AWS account § AWS EC 2 Console § EC 2 Security Groups § EC 2 Key Pairs § EC 2 Amazon Machine Images (AMIs) § EC 2 Elastic IP § EC 2 EBS Volumes § EC 2 Snapshots § Using EC 2 Command Line tools
Credit: http: //docs. aws. amazon. com/AWSEC 2/latest/User. Guide/EC 2_Get. Started. html
AWS ACCOUNT § Sign up for services http: //aws. amazon. com § EC 2 Console http: //console. aws. amazon. com
AWS EC 2 CONSOLE
EC 2 SECURITY GROUPS § A security group acts as a virtual firewall that controls the traffic for one or more instances. § When you launch an instance, you associate one or more security groups with the instance. § You add rules to each security group that allow traffic to or from its associated instances. § All the rules from all the security groups that are associated with the instance will be evaluated to decide whether to allow traffic to reach an instance.
EC 2 KEY PAIRS –PEM FILE § Only one opportunity § Make a copy § Make another offline copy § Cannot be retrieved or restored
PEM FILE § PEM is an abbreviation for Privacy Enhanced Mail (RFC 1421 - RFC 1424) § An early standard for securing electronic mail (IRTF, IETF). § The PEM format often is used for representing a certificate, certificate request.
EC 2 – LAUNCH INSTANCE
AMI § Amazon Machine Image (AMI) § Provide information required to launch an instance, a virtual server in the cloud § Specify an AMI when launch an instance § Can launch many instances from the AMI as needed
AMI REQUIREMENTS § A template for the root volume for the instance (operating system, application server, applications) § Launch permissions that control which AWS accounts can use the AMI to launch instances. § Block device mapping that specifies the volumes to attach to the instances
HOW TO USE AN AMI § Create and register an AMI § Launch new instances § After launching instance from an AMI, deregister the AMI
AMAZON ELASTIC BLOCK STORE (EBS) § Persistent block level storage volumes for use with Amazon EC 2 instances. § Each Amazon EBS volume is automatically replicated within its Availability Zone to protect you from component failure, offering high availability and durability. § Amazon EBS volumes offer the consistent and lowlatency performance needed to run your workloads.
CREATING YOUR OWN AMI § The root storage device of the instance determines the process to create an AMI. § The root volume of an instance is either an Amazon EBS volume or an instance store volume.
TYPE OF AMI § Amazon Linux AMI § Red Hat Enterprise Linux 7. 0 § Su. SE Linux Enterprise Server 11 SP 3 § Ubuntu Server 14. 04 LTS, SSD Volume Type § Microsoft Windows Server 2012 R 2 Base § Microsoft Windows Server 2012 with SQL server Web § Microsoft Windows Server 2012 R 2 with SQL server Standard §. . .
AMAZON LINUX AMI § Amazon Linux AMI is a supported and maintained Linux image provided by AWS. § Stable, secure, high-performance execution environment for applications running on Amazon EC 2 § An Amazon EBS-based, PV-GRUB AMI that includes: § Linux 3. 4 § AWS tools § Repository access to multiple version of My. SQL, Postgre. SQL, Python, Ruby, and Tomcat
EC 2 ELASTIC IP § An Elastic IP address (EIP) is a static IP address designed for dynamic cloud computing. § With an EIP, you can mask the failure of an instance by rapidly remapping the address to another instance in your account. § Your EIP is associated with your AWS account (not a particular instance).
EC 2 SNAPSHOTS § You can periodically create a snapshot of an Amazon EBS volume to use as a baseline (for new volumes or for data backup) § Snapshots are saved incrementally § You need to retain only the most recent snapshot in order to restore the volume. § Snapshots occur asynchronously and the status of the snapshot is pending until the snapshot is complete.
AMAZON VIRTUAL PRIVATE CLOUD (VPC) § A VPC is a virtual network dedicated to your AWS account. § It is logically isolated from other virtual networks in the AWS cloud. § You can launch your AWS resources, such as Amazon EC 2 instances, into your VPC. § You can configure your VPC, set its IP address range, security settings, etc.
- Slides: 24