Getting Started on AWS

233 pages
1 downs
26 views

Extension: PDF

Please download to get full document.

View again

of 233
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Share
Description
1. 1 Version 4.1 AWSome Day Getting Started on AWS 2. 2 Course Objectives This course teaches you how to: ã Recognize terminology and concepts as they relate to the AWS…
Transcript
  • 1. 1 Version 4.1 AWSome Day Getting Started on AWS
  • 2. 2 Course Objectives This course teaches you how to: • Recognize terminology and concepts as they relate to the AWS platform and navigate the AWS Management Console. • Understand the foundational services, including Amazon Elastic Compute Cloud (EC2), Amazon Virtual Private Cloud (VPC), Amazon Simple Storage Service (S3), and Amazon Elastic Block Store (EBS). • Understand the security measures AWS provides and key concepts of AWS Identity and Access Management (IAM). • Understand AWS database services, including Amazon DynamoDB and Amazon Relational Database Service (RDS). • Understand AWS management tools, including Auto Scaling, Amazon CloudWatch, Elastic Load Balancing (ELB), and AWS Trusted Advisor. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 3. 3 Module Layout • Module 1: Introduction and History of AWS • Module 2: Foundational Services – Amazon EC2, Amazon VPC, Amazon S3, Amazon EBS • Module 3: Security, Identity, and Access Management - IAM • Module 4: Databases – Amazon DynamoDB and Amazon RDS • Module 5: AWS Elasticity and Management Tools – Auto Scaling, Elastic Load Balancing, Amazon CloudWatch, and AWS Trusted Advisor • Module 6: Course Wrap-Up • Module 7: Course Appendix © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 4. 4 Module 1 Introduction and History of AWS
  • 5. 5 Amazon History 1994: Jeff Bezos incorporated the company. 1995: Amazon.com launched its online bookstore. 2005: Amazon Publishing was launched. 2006: Amazon Web Services (AWS) was launched. 2007: Kindle was launched. 2011: Amazon Fresh was launched. 2012: Amazon Game Studios was launched. 2013: Amazon Art was launched. 2014: Amazon Prime Now was launched. 2015: Amazon Home Services and Amazon Echo were launched. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 6. 6 Amazon Web Services (AWS) ComputeMessaging Mobile App Services Database Networking Development and Management Tools Payments VPC On-Demand Workforce Analytics Content Delivery Storage Enable businesses and developers to use web services to build scalable, sophisticated applications. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 7. 7 AWS Rapid Pace of Innovation 2009 48 159 722 82 2011 2013 2015 New Features/Services Launched © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 8. 8 2,420 AWS Direct Connect AWS Elastic Beanstalk AWS GovCloud (US) AWS CloudTrail AWS CloudHSM Amazon WorkSpaces Amazon Kinesis Amazon AppStream Amazon SNS AWS Identity and Access Management Amazon Route 53 AWS Import/Export Amazon SWF Amazon Redshift Amazon DynamoDB Amazon CloudSearch AWS Data Pipeline AWS Certificate Manager AWS KMS AWS Config Amazon RDS for Aurora Amazon WorkDocs AWS Directory Service AWS CodeCommit AWS CodePipeline AWS Service Catalog Amazon CloudWatch Logs Amazon EFS Amazon API Gateway Amazon Machine Learning AWS Device Farm AWS WAF Elasticsearch Service Amazon QuickSight AWS Import/Export Amazon RDS for MariaDB Amazon Inspector AWS IoT Amazon EC2 Container Registry Amazon ElastiCache AWS CloudFormation Amazon Mobile Analytics AWS Mobile Hub AWS Storage Gateway AWS OpsWorks Amazon Elastic Transcoder Amazon SES Amazon EC2 Container Service Amazon Cognito AWS CodeDeploy Amazon Glacier Amazon WorkMail AWS Lambda As of 1 August 2016 Services and Features © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 9. 9 AWS Customers Enterprise Customers Startup Customers Public Sector Customers © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 10. 10 Advantages and Benefits of AWS Cloud Computing Trade capital expense for variable expense. Benefit from massive economies of scale. Stop guessing capacity. Go global in minutes. Increase speed and agility. Stop spending money on running and maintaining data centers. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 11. 11 Gartner Magic Quadrant for Cloud Infrastructure as a Service, Worldwide Gartner “Magic Quadrant for Cloud Infrastructure as a Service, Worldwide,” Lydia Leong, Gregor Petri, Bob Gill, Mike Dorosh, 03 August 2016. This Magic Quadrant graphic was published by Gartner, Inc. as part of a larger research note and should be evaluated in the context of the entire report. The Gartner report is available at https://aws.amazon.com/resources/analyst-reports/ . Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner research publications consist of the opinions of Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose.
  • 12. 12 AWS Core Infrastructure and Services Security Network Security Network Security Groups NACLs Access Mgmt VPCVPC EC2 “Classic” “Public ” ELB On-Demand Provision Traditional Infrastructure Amazon Web Services Servers AMI Amazon EC2 InstancesOn-Premises Servers Security Security Groups Network ACLs AWS IAMFirewalls ACLs Administrators Storage and Database RDBMSDAS SAN NAS Amazon EBS Amazon EFS Amazon S3 Amazon RDS Networking VPCELBRouter Network Pipeline Switch
  • 13. 13 Infrastructure Regions Edge LocationsAvailability Zones Foundation Services Compute (Virtual, Auto-scaling and Load Balancing) Networking Applications Virtual Desktops Collaboration and Sharing Platform Services AWS Cloud Computing Databases Relational NoSQL Caching Analytics Cluster Computing Real-time Data Warehouse Data Workflows App Services Queuing Orchestration App Streaming Transcoding Email Search Deployment and Management Containers Dev/ops Tools Resource Templates Usage Tracking Monitoring and Logs Mobile Services Identity Sync Mobile Analytics Notifications Storage (Object, Block and Archive)
  • 14. 14 Compute Network Storage Security & Identity Applications AWS Foundation Services Amazon EC2 AWS Lambda Amazon EC2 Container Service AWS Elastic Beanstalk Elastic Load Balancing Amazon VPC AWS Direct Connect Amazon Route 53 Amazon S3 Amazon CloudFront Amazon Elastic File System Amazon Glacier AWS Storage Gateway AWS Import/Export AWS Identity and Access Management AWS Directory Service AWS Cloud HSM AWS KMS AWS WAF Amazon WorkDocs Amazon WorkSpaces Auto Scaling Amazon WorkMail © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 15. 15 Databases Analytics App Services Management Tools Developer Tools Mobile Services Internet of Things AWS Platform Services Amazon RDS Amazon DynamoDB Amazon ElastiCache Amazon Redshift Amazon EMR AWS Data Pipeline Amazon Kinesis Amazon Machine Learning Amazon Elasticsearch Service Amazon API Gateway Amazon AppStream Amazon CloudSearch Amazon Elastic Transcoder Amazon SES Amazon SQS Amazon SWF Amazon CloudWatch AWS CloudFormation AWS CloudTrail AWS Config AWS OpsWorks AWS Service Catalog AWS CodeCommit AWS CodeDeploy AWS CodePipeline AWS Device Farm Amazon Mobile Analytics Amazon Cognito Amazon SNS Mobile Hub AWS IoT Trusted Advisor AWS Database Migration Service AWS Certificate Manager © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 16. 16 AWS Global Infrastructure Regions • Geographic locations • Consist of at least two Availability Zones Availability Zones • Clusters of data centers • Isolated from failures in other Availability Zones © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 17. 17 AWS Global Infrastructure © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 18. 18 AWS Global Infrastructure At least 2 Availability Zones per region. Examples: • US East (N. Virginia) • us-east-1a • us-east-1b • us-east-1c • us-east-1d • us-east-1e • Asia Pacific (Tokyo) • ap-northeast-1a • ap-northeast-1b • ap-northeast-1c Note: Conceptual drawing only. The number of Availability Zones (AZ) may vary. US East (VA) AZ - A AZ - B AZ - C AZ - D AZ - E Asia Pacific (Tokyo) AZ - A AZ - B AZ - C © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 19. 19 High Availability Using Multi-AZ Deployments Availability Zone - A Availability Zone - B Availability Zone - C Region © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 20. 20 AWS Global Infrastructure 50+ AWS Edge locations - local points of presence commonly supporting AWS services like: • Amazon Route 53 • Amazon CloudFront © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 21. 21 AWS Management Console Demonstration
  • 22. 22 Knowledge Check Q: What is the AWS term for physically distinct groups of data centers within a region? True or False: There are more Regions than Edge locations. True or False: AWS owns and maintains the infrastructure required for application services. You provision and use them as needed. Q: How do Availability Zones in the same region differ? Availability Zone False True Each Availability Zone is isolated, but the Availability Zones in a region are connected through low-latency links. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 23. 23 Module 2 AWS Foundational Services
  • 24. 24 Module 2 Layout • Amazon Elastic Compute Cloud (EC2) • Amazon Virtual Private Cloud (VPC) • Amazon Storage Services • Amazon Simple Storage Service (S3) • Amazon Elastic Block Store (EBS) © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 25. 25 Amazon Elastic Compute Cloud (EC2)
  • 26. 26 Amazon Elastic Compute Cloud (EC2) • Resizable compute capacity • Complete control of your computing resources • Reduced time required to obtain and boot new server instancesAmazon EC2 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 27. 27 Amazon EC2 Facts • Scale capacity as your computing requirements change • Pay only for capacity that you actually use • Choose Linux or Windows • Deploy across AWS Regions and Availability Zones for reliability • Use tags to help manage your Amazon EC2 resources © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 28. 28 Launching an Amazon EC2 Instance via the Management Console 1. Determine the AWS Region in which you want to launch the Amazon EC2 instance. 2. Launch an Amazon EC2 instance from a pre-configured Amazon Machine Image (AMI). 3. Choose an instance type based on CPU, memory, storage, and network requirements. 4. Configure network, IP address, security groups, storage volume, tags, and key pair. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 29. 29 Amazon Machine Image (AMI) Details An AMI includes the following: • A template for the root volume for the instance (for example, an operating system, an application server, and applications). • Launch permissions that control which AWS accounts can use the AMI to launch instances. • A block device mapping that specifies the volumes to attach to the instance when it is launched. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 30. 30 Instances and AMIs Select an AMI based on: • Region • Operating system • Architecture (32-bit or 64-bit) • Launch permissions • Storage for the root device AMI Instances Instance Launch instances of any type Host computer Host computer © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 31. 31 Amazon EC2 Instances OS, Applications, and Configuration AMI Running or Stopped VM Instances AZ VPC Region EBS S3 EBS Snapshots S3 Buckets EBS EBS EBS EBS EBS AZ Instances Instances © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 32. 32 Instance Lifecycle AMI pending Launch runningrebooting Reboot Start terminated shutting-down Terminate Terminate EBS-backed instances only Stop stopping stopped © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 33. 33 AWS Marketplace – IT Software Optimized for the Cloud • Online store to discover, purchase, and deploy IT software on top of the AWS infrastructure. • Catalog of 2700+ IT software solutions including Paid, BYOL, Open Source, SaaS, and free-to-try options. • Pre-configured to operate on AWS. • Software checked by AWS for security and operability. • Deploys to AWS environment in minutes. • Flexible, usage-based billing models. • Software charges billed to AWS account. Includes AWS Test Drive. https://aws.amazon.com/marketplace
  • 34. 34 Choosing the Right Amazon EC2 Instance AWS uses Intel® Xeon® processors to provide customers with high performance and value. EC2 instance types are optimized for different use cases, workload requirements and come in multiple sizes. Consider the following when choosing your instances: • Core count • Memory size • Storage size and type • Network performance • CPU technologies © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 35. 35 Get the Intel® Advantage Intel’s Haswell microarchitecture on new X1, C4, D2, and M4 instances, with custom Intel® Xeon® v3 processors, provides new features: Haswell microarchitecture can boost existing applications performance by 30% or more for better workload performance and faster response times. Newer Hardware Assisted technologies, such as Intel® AVX2.0 instructions, can double the floating-point performance for compute- intensive workloads and provide additional instructions for compression and encryption © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 36. 36 X1 Instance - Tons of Memory The X1 instance: • Features up to 2TB of memory and 100 vCPU. • Uses Intel E7 v3 Haswell processors. • Is designed for demanding enterprise workloads, including production installations of SAP HANA, Microsoft SQL Server, Apache Spark, and Presto. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 37. 37 Intel® Processor Technologies Intel® AVX: Provides dramatically better performance for highly parallel HPC workloads such as life science engineering, data mining, financial analysis, or other technical computing applications. AVX also enhances image, video, and audio processing. Intel® AES-NI: Enhance your security with these new encryption instructions that reduce the performance penalty associated with encrypting/decrypting data. Intel® Turbo Boost Technology: Provides more computing power when you need it with performance that adapts to spikes in your workload. Intel Transactional Synchronization (TSX) Extensions: Enable execution of transactions that are independent to accelerate throughput. P state & C state control: Gives you the ability to individually tune each cores performance & sleep states to improve application performance. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 38. 38 AWS EC2 Instances with Intel® Technologies AWS Instance Type High Memory X1 Compute- Optimized C4 Storage- Optimized D2 General Purpose M4 Memory- Optimized R3 IO- Optimized I2 Graphics- Optimized G2 Burstable Performance T2 Intel Processor Intel Xeon E7-8880 v3 Custom Intel Xeon E5- 2666 v3 Custom Intel Xeon E5- 2676 v3 Custom Intel Xeon E5- 2676 v3 Intel Xeon E5-2670 v2 Intel Xeon E5-2670 v2 Intel Xeon E5-2670 Intel Xeon Family Intel AVX AVX 2.0 AVX 2.0 AVX 2.0 AVX 2.0 Yes Yes Yes Yes Intel AES-NI Yes Yes Yes Yes Yes Yes No No Intel Turbo Boost Yes Yes Yes Yes Yes Yes Yes Yes Intel TSX Yes No No No No No No No Per core P- and C-state control No Yes (8xlarge only) No No No No No No SSD Storage EBS Optimized by default EBS Optimized by default No EBS Optimized by default Yes Yes Yes EBS only © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 39. 39 Current Generation Instances Instance Family Some Use Cases General purpose (t2, m4, m3) • Low-traffic websites and web applications • Small databases and mid-size databases Compute-optimized (c4, c3) • High performance front-end fleets • Video-encoding Memory-optimized (r3) • High performance databases • Distributed memory caches Storage-optimized (i2, d2) • Data warehousing • Log or data-processing applications GPU instances (g2) • 3D application streaming • Machine learning © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 40. 40 Instance Metadata • Is data about your instance. • Can be used to configure or manage a running instance. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 41. 41 Retrieving Instance Metadata To view all categories of instance metadata from within a running instance, use the following URI: http://169.254.169.254/latest/meta-data/ On a Linux instance, you can use: • $ curl http://169.254.169.254/latest/meta-data/ • $ GET http://169.254.169.254/latest/meta-data/ All metadata is returned as text (content type text/plain). © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 42. 42 Instance User Data • Can be passed to the instance at launch. • Can be used to perform common automated configuration tasks. • Runs scripts after the instance starts. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 43. 43 Adding User Data • You can specify user data when launching an instance. • User data can be: • Linux script – executed by cloud-init • Windows batch or PowerShell scripts – executed by EC2Config service • User data scripts run once per instance ID by default. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 44. 44 User Data Example Linux #!/bin/sh yum -y install httpd chkconfig httpd on /etc/init.d/httpd start User data shell scripts must start with the #! characters and the path to the interpreter you want to read the script. Install Apache web server Enable the web server Start the web server © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 45. 45 User Data Example Windows <powershell> Import-Module ServerManager Install-WindowsFeature web-server, web-webserver Install-WindowsFeature web-mgmt-tools </powershell> Import the Server Manager module for Windows PowerShell. Install IIS Install Web Management Tools © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 46. 46 Retrieving User Data To retrieve user data, use the following URI: http://169.254.169.254/latest/ user-data On a Linux instance, you can use: $ curl http://169.254.169.254/latest/user-data/ $ GET http://169.254.169.254/latest/user-data/ © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 47. 47 Amazon EC2 Purchasing Options On-Demand Instances Pay by the hour. Reserved Instances Purchase, at a significant discount, instances that are always available 1-year to 3- year terms. Scheduled Instances Purchase instances that are always available on the specified recurring schedule, for a one-year term. Spot Instances Bid on unused instances, which can run as long as they are available and your bid is above the Spot price. Dedicated Hosts Pay for a physical host that is fully dedicated to running your instances. Dedicated Instances Pay, by the hour, for instances that run on single- tenant hardware. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 48. 48 Networking Amazon VPC
  • 49. 49 Amazon Virtual Private Cloud (VPC) • Provision a private, iso
  • Related Search
    We Need Your Support
    Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

    Thanks to everyone for your continued support.

    No, Thanks