Download presentation
Presentation is loading. Please wait.
Published byMorgan Walters Modified over 6 years ago
1
Introduction to AWS and Docker on ECS: Microservice Deployment on Amazon EC2 Container Service Presented by Patrick Hannah VP of Engineering, CloudHesive
2
Introduction Who am I? What’s my background?
3
What are we going to talk about?
Introduction to Cloud Computing Introduction to AWS Overview of AWS Services Docker on ECS: Microservice Deployment on Amazon EC2 Container Service Q&A
4
Introduction to Cloud Computing
5
Why move to the Cloud? Is it cost (dollars and hours) savings?
Is it because it’s massively scalable? Is your CxO bugging you about it? Is it a shiny object?
6
Cost Savings Minimize/eliminate up front investment in hardware, software, support, connectivity, etc. (CapEx vs. OpEx) Minimize/eliminate complexities in cross charging for shared services Achieve higher economies of scale “With great power there must also come great responsibility”
7
Scalability Resource + People + Business (Increased Agility and Speed to Market for less) Someone else now pays to maintain that excess hardware capacity Automation allows for the horizontal scale up/scale down of infrastructure Abstracted services eliminate the guesswork in scaling of storage and other services
8
Availability Without physical constraints, replacement of failed infrastructure occurs faster Applications leverage abstracted services where the availability characteristics aren’t your problem Human error is minimized with automation
9
Security Security First
Shared Responsibility security model across your cloud environment Each host becomes its own security zone Infrastructure lifecycle management no longer has a physical component Administrative activities are done with automation in mind You are not alone
10
Security - Continued
11
Manageability Configurable Interrogatable
Granular permissions assignment Ecosystem
12
What about on-premises?
Private Cloud Hybrid Cloud Can you achieve the same economies of scale? Are you in the Cloud Infrastructure business?
13
Where to go next? Pick an Application to Migrate
Document the Application Review the AWS service offerings Take a look at the Reference Architectures published by AWS Take a look at the AWS Marketplace Do the work
14
Introduction to AWS
15
Gartner Magic Quadrant for Cloud Infrastructure as a Service, Worldwide
See:
16
AWS’ Rapid Pace of Innovation AWS has launched a total of 522 new features and/or services to-date* in 2015, for a total of 1,696 new features and/or services since inception in 2006. 516 2014 280 2013 159 2012 2011 82 * As of 8 Oct 15
17
AWS’ History of Innovation AWS has been continually expanding its services to support virtually any cloud workload, and it now has more than 60 services that range from compute, storage, networking, database, analytics, application services, deployment, management and mobile. 2015 Amazon EFS Amazon API Gateway Amazon WorkMail Amazon Machine Learning AWS Device Farm AWS WAF Amazon Elasticsearch Service Amazon QuickSight AWS Import/Export Snowball Amazon Kinesis Firehose Amazon RDS for MariaDB Amazon Inspector AWS Database Migration Service AWS IoT Amazon EC2 Container Registry Amazon Kinesis Analytics AWS Mobile Hub AWS CodeDeploy 2014 AWS KMS Amazon Config Amazon Cognito Amazon Mobile Analytics Amazon EC2 Container Service Amazon RDS for Aurora Amazon Lambda Amazon WorkDocs AWS Directory Service AWS CodeCommit AWS CodePipeline 2013 Amazon CloudTrail CloudHSM WorkSpaces Kinesis Amazon Elastic Transcoder AppStream AWS OpsWorks 2012 Amazon SWF Amazon Redshift Glacier Dynamo DB CloudSearch AWS Storage Gateway AWS Data Pipeline 2011 Amazon ElastiCache Amazon SES AWS CloudFormation AWS Direct Connect AWS Elastic Beanstalk GovCloud Amazon CloudWatch Logs 2009 Amazon RDS Amazon VPC AWS Auto Scaling AWS Elastic Load Balancing AWS Import/Export 2010 Amazon SNS AWS Identity & Access Management Amazon Route 53 Amazon FPS Amazon CloudWatch Trusted Advisor AWS Service Catalog AWS EMR * As of 8 Oct 15
18
AWS Global Infrastructure
19
Startup Customers Meerkat
20
Enterprise Customers
21
Public Sector Customers
22
AWS Services
23
AWS Services
24
Managability Interfaces AWS Management Console
AWS CLI, Tools, Tookits, SDKs and Mobile SDKs AWS Billing and Cost Management AWS Support AWS Marketplace/Quick Starts AWS Training & Certification AWS Documentation Management Amazon CloudWatch AWS CloudTrail AWS Config AWS Service Catalog Trusted Advisor Provisioning AWS CloudFormation AWS OpsWorks AWS Elastic Beanstalk Auto Scaling
25
Infrastructure Network Amazon Route 53 AWS Direct Connect Amazon VPC
Elastic Load Balancing Compute Amazon EC2 Amazon EC2 Container Registry Amazon EC2 Container Service AWS Lambda Storage Amazon EBS Amazon EFS Amazon S3 Amazon Glacier AWS Storage Gateway Amazon CloudFront
26
Abstracted Services Database Amazon RDS Amazon Redshift
Amazon DynamoDB Amazon ElastiCache Analytics Amazon Elasticsearch Service Amazon CloudSearch Amazon EMR Amazon Machine Learning Pipelines AWS Data Pipeline Amazon SQS Amazon Kinesis
27
Enterprise Security AWS WAF Amazon Inspector AWS Certificate Manager
Identity & Access Management AWS KMS AWS CloudHSM AWS GovCloud (US) Enterprise AWS Directory Service Amazon AppStream Amazon WAM Amazon WorkDocs Amazon WorkMail Amazon WorkSpaces Migration AWS Application Discovery Service AWS Database Migration Service AWS Import/Export AWS Schema Conversion Tool
28
Development Tools AWS CodeCommit AWS CodeDeploy AWS CodePipeline
Services Amazon SES Amazon SNS Amazon SWF Amazon API Gateway Amazon Elastic Transcoder Amazon Cognito Mobile/Game/IoT AWS Mobile Hub Amazon Mobile Analytics AWS Device Farm Amazon Lumberyard Amazon GameLift AWS IoT
29
Typical stack utilizing mix of Infrastructure and Managed Services
Route53 (DNS) – feature rich CloudFront (Content Delivery Network) S3 (Object Storage, ideal for Static Content) – 3 flavors ELB (Load Balancing) ASG (Auto Scaling) EC2 (Virtual Servers) RDS (Managed Database) – numerous flavors ElastiCache (Managed Cache) SES (SMTP Gateway)
30
AWS Docker on ECS: Microservice Deployment on Amazon EC2 Container Service
31
Key Concepts OMG so many terms
What are the challenges we are trying to solve? Why use Docker compared to other solutions? Why use ECS when I can roll my own solution? Why leverage a Microservices design pattern? What can I do with all of this great stuff?
32
Docker Terminology Images
A stateless image of a file system containing all dependencies Containers A runtime instance of a Docker image Repository A set of docker images Tag A label used to distinguish one image from another Registry A hosted collection of repositories
33
ECS Terminology ECS Elastic Container Service Container Agent
Responsible for communicating between Container Instances and ECS Container Instances An EC2 instance running the container agent Clusters A group of container instances Task Definitions Instance start/container runtime parameters Services Quantity of task definitions to run1 Tasks and Scheduling When to run a task definition (which could be all the time, scheduled, etc.)
34
How does Docker compare with traditional solutions?
Virtualization versus Containerization Disk Image + Configuration Management versus Container Image Artifact Creation versus Container Image Creation Artifact Repository versus Image Repository and Registry Provisioning + Configuration Management versus Orchestration and Scheduling Use of Multi-threaded/Multi-task versus Multi-threaded/Single-task Lifetime of Hours to Months versus Minutes to Days Resource Management Bonuses
35
What is a Microservice? Small and serve a specific purpose (for example, user authentication) Easy to replace/modular Platform agnostic/independent (one service can be Node, another can be Go) Self-contained and eliminates the need for coordinated deployments (for example: a deployment of a new version of the user authentication service does not disrupt the functionality of services dependent on it) Integrates with other microservices through an API, rather than through shared services (database, cache, filesystem, shared memory, etc.) Eliminates the need to have intimate or extensive knowledge of the entire application or other teams’ services
36
What’s ECS offer that I’d otherwise have to do on my own?
Management Interfaces Console CloudWatch CLI API Logging CloudTrail Local Integration with other AWS services ELB/ALB Autoscaling CloudFormation EC2/EBS/VPC
37
What’s ECS offer that I’d otherwise have to do on my own?
Purpose Built AMI (can use your own, Rancher, CoreOS, Suse as well) Amazon Linux ECS Agent Docker Initialization Scripts 30 GB of storage (can increase) Image Registry (other registries, like Docker Hub and private are supported) AWSified Scheduler ELB/ALB AutoScaling Self Healing Task specific IAM Roles More granular than instance roles
38
Interacting with ECS Standing up an ECS Cluster Console (Wizard)
CloudFormation API Third Party Deploying into an ECS Cluster Third Party (CI) Updates to an ECS Cluster Console
39
Demo and Q&A
40
Question 1 How does Docker change the Software Development Lifecycle?
41
Question 2 What AWS Service or Services can allow you to automate deployment of “Infrastructure” on AWS?
42
Question 3 What is one approach you can take to make an application or service on EC2 more resilient?
43
Question 4 What advantage does ECS have over rolling your own EC2 instances to act as Docker hosts?
44
Question 5 What IAM capability allows an application access to AWS services without the burden of hardcoded and manually managed credentials?
45
Further Learning Getting Started: General Reference: Global Infrastructure: FAQs: Documentation: Architecture: Whitepapers: Security: Blog: Service Specific Pages: SlideShare: Github: and
46
Florida Meetups http://www.meetup.com/aws-user-group-miami/
47
THANK YOU! Interested? sales@cloudhesive.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.