SlideShare uma empresa Scribd logo
1 de 51
Baixar para ler offline
Building Open Source platforms !
on AWS
Julien Simon
Principal Technical Evangelist
Amazon Web Services

julsimon@amazon.fr
@julsimon
Agenda
•  VMs & OSes
•  Language SDKs
•  Docker

•  Development infrastructure
•  Databases
•  Analytics
•  Conclusion
Virtual Machines!
& Operating Systems
AWS Global Infrastructure
16 Regions
42 Availability Zones
73 Edge Locations
Amazon EC2
•  Infrastructure as a Service, launched in 2006
•  Virtual machines (EC2 instances) and images (Amazon Machine Images)
•  AMIs: Amazon, 3rd party (EC2 Marketplace), community or your own
•  All-inclusive: networking (Virtual Private Cloud), storage (Elastic Block Storage),
firewalling (Security Group), load balancing (Elastic Load Balancing), high availability
(Availability Zones), automatic scaling (Auto Scaling groups), monitoring (Cloudwatch)
•  Pay on an hourly basis
•  Or use Reserved Instances and Spot Instances for large savings
https://aws.amazon.com/ec2/
http://aws.amazon.com/free/ 
https://aws.amazon.com/ec2/pricing/reserved-instances/
https://aws.amazon.com/ec2/spot/
« I can get less expensive VMs at X, Y or Z » 
•  Comparing apples and oranges?
•  Take a good look at:
–  Geographical coverage
–  Width and depth of technical services (Auto Scaling, Load Balancing, etc.)
–  High availability: not all “regions” are born equal
–  Security & Compliance
–  Cost optimization (Reserved Instances, Spot Instances, etc.)
05/01/16 https://aws.amazon.com/blogs/aws/happy-new-year-ec2-price-reduction-c4-m4-and-r3-instances/ 
11/08/16 https://aws.amazon.com/blogs/aws/amazon-elastic-block-store-ebs-update-snapshot-price-reduction-more-piopsgib/
14/11/16 https://aws.amazon.com/blogs/aws/ec2-price-reduction-c4-m4-and-t2-instances/
Instances Types
<Family><Generation>.<Size>, e.g. m4.xlarge

General purpose: t2 (burstable), m4
Compute-optimized: c4
Storage-optimized: i3 (I/O), d2 (Density) 
Memory-optimized: r4, x1 
GPU: g2, p2
FPGA: f1 

t2.nano: 1 vCPU, 512MB RAM, EBS storage
x1.32xlarge: 128 vCPU, 2TB RAM, 4TB SSD, 10Gb network 

https://aws.amazon.com/ec2/instance-types/
Amazon Linux
•  Evolved from CentOS
•  Secure configuration 
•  Pre-installed AWS tools
•  Integrated with AWS repositories & security updates
•  Available as Docker container
•  Easy incremental updates
yum clean all && yum update && reboot
•  Latest version: Amazon Linux 2017.03 (kernel 4.9.x)
https://aws.amazon.com/amazon-linux-ami/
https://aws.amazon.com/amazon-linux-ami/2017.03-release-notes/
https://docs.aws.amazon.com/AmazonECR/latest/userguide/amazon_linux_container_image.html
100+ Linux/BSD AMIs
https://aws.amazon.com/marketplace/
Baking your own AMI
•  Create a golden image to speed up deployment and !
Auto Scaling
•  AWS CLI: aws ec2 create-image!

•  Aminator: Netflix tool, EC2 only for Red Hat and CentOS

•  Packer: Hashicorp tool, more features

http://docs.aws.amazon.com/cli/latest/reference/ec2/create-image.html
https://github.com/Netflix/aminator 
https://www.packer.io
« VMs are all I need. I can build everything else » 
•  Really?
•  How long will it take to build AND maintain?
–  Daily sysadmin: monitoring, logs, backups, etc.
–  Upgrading, capacity planning, scaling, etc.
–  Security audits, patches, etc.
–  Fixing whatever broke down at 2AM…
•  How much is your own time worth? 
•  Your company’s time?
•  Wouldn’t you like to focus on your product?
Software Development Kits
10 programming environments
•  Android!
https://github.com/aws/aws-sdk-android
•  C++!
https://github.com/aws/aws-sdk-cpp 
•  Go!
https://github.com/aws/aws-sdk-go 
•  iOS!
https://github.com/aws/aws-sdk-ios 
•  Java!
https://github.com/aws/aws-sdk-java 
•  Javascript / Node.js!
https://github.com/aws/aws-sdk-js 
•  .NET!
https://github.com/aws/aws-sdk-net 
•  Python!
https://github.com/boto/boto3 
•  PHP!
https://github.com/aws/aws-sdk-php 
•  Ruby!
https://github.com/aws/aws-sdk-ruby 
https://github.com/aws/aws-toolkit-eclipse
https://aws.amazon.com/visualstudio/
Docker
Running Docker on AWS
•  Use docker-machine to start EC2 instances
•  Start Docker-enabled AMIs
•  Build Docker clusters
•  Use Docker-based PaaS platforms
https://convox.com/blog/docker-in-production/
Docker-machine
docker-machine create 
--driver amazonec2 
--amazonec2-region region 
--amazonec2-zone az 
--amazonec2-instance-type type 
instance_name
docker-machine ssh instance_name
https://docs.docker.com/machine/drivers/aws/
Docker-enabled AMIs

Available on the AWS Marketplace

RancherOS
Rancher Server runs as a container

CoreOS
CloudFormation template !
on CoreOS page

Amazon ECS-optimized AMI
Amazon Linux + Amazon ECS Agent + Docker 1.12.6
More on ECS in a minute J
http://docs.rancher.com/os/running-rancheros/cloud/aws/
https://coreos.com/os/docs/latest/booting-on-ec2.html
http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
Docker orchestrators
Docker Swarm
•  Installation with docker-machine
•  Docker for AWS
Create Swarm with CloudFormation 
•  Docker Datacenter
–  End-to-end platform for !
container management
–  Ready in 20-30 minutes
http://docs.docker.com/swarm/install-manual/
http://blog.scottlowe.org/2016/03/25/docker-swarm-aws-docker-machine/
https://docs.docker.com/docker-for-aws/
https://aws.amazon.com/about-aws/whats-new/2016/06/docker-datacenter-on-the-aws-cloud-quick-start-reference-deployment/
Kubernetes
$ kube-aws init 
--cluster-name=my-cluster-name 
--external-dns-name=my-cluster-endpoint 
--region=region-name 
--availability-zone=az-name 
--key-name=keypair-name 
--kms-key-arn=key-arn
$ kube-aws render à CloudFormation template
$ kube-aws up
https://coreos.com/kubernetes/docs/latest/kubernetes-on-aws.html
Amazon ECS and ECR
Amazon EC2 Container Service (ECS)
•  Orchestration of Docker clusters
•  No charge

Amazon EC2 Container Registry (ECR)
•  Managed private Docker Registry
•  Free tier available
•  $0.10 / GB / month + outgoing traffic

http://www.allthingsdistributed.com/2014/11/amazon-ec2-container-service.html
http://www.allthingsdistributed.com/2015/04/state-management-and-scheduling-with-ecs.html!
http://www.allthingsdistributed.com/2015/07/under-the-hood-of-the-amazon-ec2-container-service.html
https://aws.amazon.com/ecs/
https://aws.amazon.com/ecr/
The Amazon ECS CLI in one slide
ecs-cli configure --cluster cluster_name --region region_name
ecs-cli up --keypair keypair --capability-iam –size nb_nodes

ecs-cli compose service up
ecs-cli compose service ps
ecs-cli compose service scale nb_containers
ecs-cli compose service stop
ecs-cli compose service delete
ecs-cli down cluster_name --force
https://github.com/aws/amazon-ecs-cli
Docker PaaS
Empire
•  Simple Open Source
PaaS built by Remind
•  Based on Amazon ECS
•  Well-suited for !
12-factor platforms
http://engineering.remind.com/introducing-empire/
https://github.com/remind101/empire
https://www.youtube.com/watch?v=8zbbQkszP04
https://12factor.net
Convox Rack
•  Open Source PaaS 
•  Ex-Heroku engineers
•  Based on Amazon ECS
https://github.com/convox/rack
http://www.slideshare.net/nzoschke/minimum-viable-infrastructure 
MySQL, PostgreSQL,
memcached & Redis !
available thanks to !
AWS Managed Services
Openshift
•  Open Source PaaS built by Red Hat
•  AWS Quick Start reference guide
–  CloudFormation template
•  Openshift Dedicated
–  Platform hosted in the AWS cloud
https://github.com/openshift/origin
https://aws.amazon.com/about-aws/whats-new/2016/06/red-hat-openshift-on-the-aws-cloud-quick-start-reference-deployment/
https://www.openshift.com/dedicated/
Development Infrastructure
Your CI/CD tools, right?
Most of them (and many more) are available on the Marketplace
They all work with our DevOps tools (aka Code*)
Testing
 Staging
 Production
deploy
deploy
deploy
Source
 Build
release
AWS CodeDeploy (no charge for EC2)
AWS Code Pipeline
https://aws.amazon.com/codecommit/
https://aws.amazon.com/codepipeline/
https://aws.amazon.com/codedeploy/ 
https://aws.amazon.com/codebuild/ 
AWS
Code!
Commit
AWS
Code!
Build
AWS OpsWorks
•  Managed Chef server
–  Chef 12, 11.10, 11.4 and 0.9 for Linux stacks
–  Chef 12.2 for Windows stacks
•  Auto Healing
•  Automatic Instance Scaling
•  Monitoring
•  Support for on-premises servers
•  Permissions and policy management with IAM
•  No charge for EC2
https://aws.amazon.com/opsworks/
http://docs.aws.amazon.com/opsworks/latest/userguide/best-practices-server-migrate.html
Relational Databases
Amazon Relational Database Service (RDS)
•  Managed infrastructure
–  SLA >= 99.95% for multi-AZ setups
–  Automatic backups & minor upgrades
–  No access to the database host operating system
•  Scalable compute & storage
–  No downtime in most cases
–  Max storage for MySQL, MariaDB, PostgreSQL: 6 TB
•  3 Open Source engines

–  MySQL: 5.5.40a à 5.7.16
–  MariaDB: 10.0.17 à 10.1.19
–  PostgreSQL: 9.3.12-R1 à 9.6.1-R1
https://aws.amazon.com/rds/ 
https://aws.amazon.com/releasenotes/Amazon-RDS
https://aws.amazon.com/rds/sla/
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts.General.FeatureSupport
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.html 
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MySQL.CommonDBATasks.html 
Amazon RDS: the small print J
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MariaDB.Parameters.html
Amazon Aurora
•  Compatible with MySQL 5.6 (with some 5.7 features)
•  Scalable compute & storage (up to 64TB)
•  5x the throughput of MySQL on the same hardware: !
up to 500K reads and 100K writes per second
•  10 ms latency on up to 15 read replicas
•  Availability > 99.99%, failover < 30s
•  6 copies of your data in 3 AZs + continuous backup to S3
•  Customers end up using smaller instances and/or less instances than
MySQL à Aurora can be less expensive!
https://aws.amazon.com/rds/aurora/
https://d0.awsstatic.com/product-marketing/Aurora/RDS_Aurora_Performance_Assessment_Benchmarking_v1-2.pdf 
fastest growing service in AWS history
NoSQL
Memcached & Redis
•  Amazon ElastiCache
•  Managed service for in-memory data
•  Memcached
–  1.4.5 à 1.4.33
–  Automatic node discovery
•  Redis
–  2.6.13 à 3.2.4
–  Scale up without losing data thanks to replication
–  Scale out: up to 15 shards with 5 read replicas each!
à 3.5 TB, 20M reads and 4.5M writes per second
–  Backups & restores
https://redislabs.com/blog/5-tips-for-running-redis-over-aws
https://aws.amazon.com/elasticache/
https://d0.awsstatic.com/whitepapers/performance-at-scale-with-amazon-elasticache.pdf
MongoDB
•  AWS Quick Start reference guide
–  CloudFormation template for v2.6, v3.0 or v3.2
–  Build a sharded cluster running on Amazon Linux in 15 minutes
•  MongoDB Cloud Manager
Provision and monitor instances in AWS
•  MongoDB Atlas: MongoDB as a Service on AWS
https://docs.mongodb.com/ecosystem/platforms/amazon-ec2/
http://docs.aws.amazon.com/quickstart/latest/mongodb/welcome.html
https://www.mongodb.com/cloud/cloud-manager !
https://www.mongodb.com/cloud/atlas
Apache Cassandra
•  Build your own on EC2
Please read our whitepaper for guidelines and best pratices
•  Use the Datastax AMI
http://www.techrepublic.com/article/the-battle-for-apache-cassandra-highlights-major-problem-with-open-source-projects/
•  Instaclustr: Cassandra as a Service on AWS
•  Alternative: Amazon DynamoDB
https://d0.awsstatic.com/whitepapers/Cassandra_on_AWS.pdf
https://docs.datastax.com/en/cassandra/2.1/cassandra/install/installAMI.html
https://github.com/riptano/comboami 
aws dynamodb create-table
Analytics
Elasticsearch
•  Amazon Elasticsearch Service
•  Managed service (v1.5, v2.3, v5.1)
•  Scale compute and storage without downtime
•  Automatic detection and replacement of failed nodes
•  Snapshots to S3
•  Integration with LogStash and CloudWatch Logs
•  Built-in Kibana 3 & 4
https://www.elastic.co/blog/running-elasticsearch-on-aws
https://aws.amazon.com/elasticsearch-service/
https://github.com/awslabs/logstash-output-amazon_es 
http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_ES_Stream.html
RabbitMQ
•  Build your own on EC2
•  CloudAMQP: RabbitMQ as a Service on AWS
•  Alternative: Amazon SQS
https://www.rabbitmq.com/ec2.html 
https://www.cloudamqp.com/blog/2014-11-14-amazon-vpc-peering.html
https://aws.amazon.com/sqs/ 
aws sqs create-queue --queue-name name
Apache Kafka
•  Build your own on EC2
–  Quick start for Confluent platform
•  Cloudkafka: Kafka as a Service on AWS
•  Alternative: Amazon Kinesis
https://aws.amazon.com/blogs/big-data/real-time-stream-processing-using-apache-spark-streaming-and-apache-kafka-on-aws/
https://www.confluent.io/blog/design-and-deployment-considerations-for-deploying-apache-kafka-on-aws/
https://www.cloudkafka.com
https://aws.amazon.com/about-aws/whats-new/2017/04/new-quick-start-deploys-confluent-platform-on-the-aws-cloud/ 
https://aws.amazon.com/kinesis/ 
aws kinesis create-stream --stream-name name --shard-count nb_shards
Apache Hadoop and friends
•  Cloudera
–  AWS Quick Start reference guide: CloudFormation template
•  Hortonworks
–  Hortonworks Data Cloud: CloudFormation template on AWS
Marketplace
http://blog.cloudera.com/blog/2013/03/how-to-create-a-cdh-cluster-on-amazon-ec2-via-cloudera-manager/
http://docs.aws.amazon.com/quickstart/latest/cloudera/welcome.html
http://fr.hortonworks.com/blog/deploying-hadoop-cluster-amazon-ec2-hortonworks/ 
https://fr.hortonworks.com/products/cloud/aws/
Amazon Elastic Map Reduce (EMR)
•  Apache Hadoop, Spark, Hive,etc.
•  Managed service
•  Easy to start, resize & terminate clusters
•  Cost-efficient, especially with Spot Instances
•  Integration with backends
https://aws.amazon.com/emr/
Conclusion
Notable Open Source projects @ AWS
AWS Labs https://github.com/awslabs 
•  aws-shell https://github.com/awslabs/aws-shell 
•  s2n https://github.com/awslabs/s2n 
•  chalice https://github.com/awslabs/chalice 
Blox: tools for custom Docker scheduling https://blox.github.io 
Mxnet: Deep Learning library http://mxnet.io
Bugfixes and Feature Contributions
•  Linux & Drivers
•  Xen
•  Apache Tomcat
•  PostgreSQL
•  Docker
•  Boto
•  Apache Hadoop
•  Apache Hive
•  Apache Bigtop
•  Apache Oozie
•  Apache Drill
•  Apache Zeppelin
•  Apache Pig
•  Cloudera HUE
•  Apache Lucene
•  Apache Solr
•  Kuromoji
•  ElasticSearch
•  CBMC
•  Moses
•  Apache Joshua
AWS is a rich and lively environment for Open Source platforms

Your choice: DIY, Marketplace, Partners, AWS Managed Services

The tools & projects you love, with less or no infrastructure drama

Built-in high availability, scalability, security & compliance

Focus on creativity and productivity, not on plumbing
Thank you!
Julien Simon
Principal Technical Evangelist
Amazon Web Services

julsimon@amazon.fr
@julsimon

Mais conteúdo relacionado

Mais procurados

T1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on awsT1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on aws
Amazon Web Services
 

Mais procurados (20)

AWS Webcast - Amazon EC2 Masterclass
AWS Webcast - Amazon EC2 MasterclassAWS Webcast - Amazon EC2 Masterclass
AWS Webcast - Amazon EC2 Masterclass
 
T1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on awsT1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on aws
 
Amazon EC2 Masterclass
Amazon EC2 MasterclassAmazon EC2 Masterclass
Amazon EC2 Masterclass
 
Deep Dive on Amazon EC2 Instances (March 2017)
Deep Dive on Amazon EC2 Instances (March 2017)Deep Dive on Amazon EC2 Instances (March 2017)
Deep Dive on Amazon EC2 Instances (March 2017)
 
AWS re:Invent 2016 recap (part 1)
AWS re:Invent 2016 recap (part 1)AWS re:Invent 2016 recap (part 1)
AWS re:Invent 2016 recap (part 1)
 
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWSAWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
 
Picking the right AWS backend for your Java application (May 2017)
Picking the right AWS backend for your Java application (May 2017)Picking the right AWS backend for your Java application (May 2017)
Picking the right AWS backend for your Java application (May 2017)
 
The AWS DevOps combo (January 2017)
The AWS DevOps combo (January 2017)The AWS DevOps combo (January 2017)
The AWS DevOps combo (January 2017)
 
An introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
An introduction to AWS CloudFormation - Pop-up Loft Tel AvivAn introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
An introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
 
AWS + Puppet = Dynamic Scale
AWS + Puppet = Dynamic ScaleAWS + Puppet = Dynamic Scale
AWS + Puppet = Dynamic Scale
 
Amazon ECS Deep Dive
Amazon ECS Deep DiveAmazon ECS Deep Dive
Amazon ECS Deep Dive
 
Amazon EC2:Masterclass
Amazon EC2:MasterclassAmazon EC2:Masterclass
Amazon EC2:Masterclass
 
Amazon EC2 Systems Manager (March 2017)
Amazon EC2 Systems Manager (March 2017)Amazon EC2 Systems Manager (March 2017)
Amazon EC2 Systems Manager (March 2017)
 
Amazon S3 - Masterclass - Pop-up Loft Tel Aviv
Amazon S3 - Masterclass - Pop-up Loft Tel AvivAmazon S3 - Masterclass - Pop-up Loft Tel Aviv
Amazon S3 - Masterclass - Pop-up Loft Tel Aviv
 
Monitoring Containers at Scale - September Webinar Series
Monitoring Containers at Scale - September Webinar SeriesMonitoring Containers at Scale - September Webinar Series
Monitoring Containers at Scale - September Webinar Series
 
Scaling up to your first 10 million users - Pop-up Loft Tel Aviv
Scaling up to your first 10 million users - Pop-up Loft Tel AvivScaling up to your first 10 million users - Pop-up Loft Tel Aviv
Scaling up to your first 10 million users - Pop-up Loft Tel Aviv
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
Advanced Container Management and Scheduling
Advanced Container Management and SchedulingAdvanced Container Management and Scheduling
Advanced Container Management and Scheduling
 
AWS CloudFormation Best Practices
AWS CloudFormation Best PracticesAWS CloudFormation Best Practices
AWS CloudFormation Best Practices
 
An Overview of AWS IoT (November 2016)
An Overview of AWS IoT (November 2016)An Overview of AWS IoT (November 2016)
An Overview of AWS IoT (November 2016)
 

Semelhante a Building Open Source Platforms on AWS (April 2017)

Semelhante a Building Open Source Platforms on AWS (April 2017) (20)

A 60-minute tour of AWS Compute (November 2016)
A 60-minute tour of AWS Compute (November 2016)A 60-minute tour of AWS Compute (November 2016)
A 60-minute tour of AWS Compute (November 2016)
 
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
 
Aws container webinar day 2
Aws container webinar day 2Aws container webinar day 2
Aws container webinar day 2
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web Services
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web Services
 
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECSWeaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
 
Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
 
Day 3 - DevOps Culture - Continuous Integration & Continuous Deployment on th...
Day 3 - DevOps Culture - Continuous Integration & Continuous Deployment on th...Day 3 - DevOps Culture - Continuous Integration & Continuous Deployment on th...
Day 3 - DevOps Culture - Continuous Integration & Continuous Deployment on th...
 
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...
 
Masterclass - Amazon WorkSpaces
Masterclass - Amazon WorkSpacesMasterclass - Amazon WorkSpaces
Masterclass - Amazon WorkSpaces
 
DevOps for the Enterprise: Virtual Office Hours
DevOps for the Enterprise: Virtual Office HoursDevOps for the Enterprise: Virtual Office Hours
DevOps for the Enterprise: Virtual Office Hours
 
Amazon ECS (December 2015)
Amazon ECS (December 2015)Amazon ECS (December 2015)
Amazon ECS (December 2015)
 
AWS Fundamentals @Back2School by CloudZone
AWS Fundamentals @Back2School by CloudZoneAWS Fundamentals @Back2School by CloudZone
AWS Fundamentals @Back2School by CloudZone
 
Running Microsoft Enterprise Workloads on Amazon Web Services
Running Microsoft Enterprise Workloads on Amazon Web ServicesRunning Microsoft Enterprise Workloads on Amazon Web Services
Running Microsoft Enterprise Workloads on Amazon Web Services
 
컴퓨팅 서비스 업데이트 - EC2, ECS, Lambda (김상필) :: re:Invent re:Cap Webinar 2015
컴퓨팅 서비스 업데이트 - EC2, ECS, Lambda (김상필) :: re:Invent re:Cap Webinar 2015컴퓨팅 서비스 업데이트 - EC2, ECS, Lambda (김상필) :: re:Invent re:Cap Webinar 2015
컴퓨팅 서비스 업데이트 - EC2, ECS, Lambda (김상필) :: re:Invent re:Cap Webinar 2015
 
AWS Cloud Experience CA: ¿Porqué Correr WorkLoads Microsoft & Oracle en AWS?
AWS Cloud Experience CA: ¿Porqué Correr WorkLoads Microsoft & Oracle en AWS?AWS Cloud Experience CA: ¿Porqué Correr WorkLoads Microsoft & Oracle en AWS?
AWS Cloud Experience CA: ¿Porqué Correr WorkLoads Microsoft & Oracle en AWS?
 
A 60-mn tour of AWS compute (March 2016)
A 60-mn tour of AWS compute (March 2016)A 60-mn tour of AWS compute (March 2016)
A 60-mn tour of AWS compute (March 2016)
 
Scaling drupal horizontally and in cloud
Scaling drupal horizontally and in cloudScaling drupal horizontally and in cloud
Scaling drupal horizontally and in cloud
 
AWS Elastic Beanstalk - Running Microservices and Docker
AWS Elastic Beanstalk - Running Microservices and DockerAWS Elastic Beanstalk - Running Microservices and Docker
AWS Elastic Beanstalk - Running Microservices and Docker
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 

Mais de Julien SIMON

Mais de Julien SIMON (20)

An introduction to computer vision with Hugging Face
An introduction to computer vision with Hugging FaceAn introduction to computer vision with Hugging Face
An introduction to computer vision with Hugging Face
 
Reinventing Deep Learning
 with Hugging Face Transformers
Reinventing Deep Learning
 with Hugging Face TransformersReinventing Deep Learning
 with Hugging Face Transformers
Reinventing Deep Learning
 with Hugging Face Transformers
 
Building NLP applications with Transformers
Building NLP applications with TransformersBuilding NLP applications with Transformers
Building NLP applications with Transformers
 
Building Machine Learning Models Automatically (June 2020)
Building Machine Learning Models Automatically (June 2020)Building Machine Learning Models Automatically (June 2020)
Building Machine Learning Models Automatically (June 2020)
 
Starting your AI/ML project right (May 2020)
Starting your AI/ML project right (May 2020)Starting your AI/ML project right (May 2020)
Starting your AI/ML project right (May 2020)
 
Scale Machine Learning from zero to millions of users (April 2020)
Scale Machine Learning from zero to millions of users (April 2020)Scale Machine Learning from zero to millions of users (April 2020)
Scale Machine Learning from zero to millions of users (April 2020)
 
An Introduction to Generative Adversarial Networks (April 2020)
An Introduction to Generative Adversarial Networks (April 2020)An Introduction to Generative Adversarial Networks (April 2020)
An Introduction to Generative Adversarial Networks (April 2020)
 
AIM410R1 Deep learning applications with TensorFlow, featuring Fannie Mae (De...
AIM410R1 Deep learning applications with TensorFlow, featuring Fannie Mae (De...AIM410R1 Deep learning applications with TensorFlow, featuring Fannie Mae (De...
AIM410R1 Deep learning applications with TensorFlow, featuring Fannie Mae (De...
 
AIM361 Optimizing machine learning models with Amazon SageMaker (December 2019)
AIM361 Optimizing machine learning models with Amazon SageMaker (December 2019)AIM361 Optimizing machine learning models with Amazon SageMaker (December 2019)
AIM361 Optimizing machine learning models with Amazon SageMaker (December 2019)
 
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
 
A pragmatic introduction to natural language processing models (October 2019)
A pragmatic introduction to natural language processing models (October 2019)A pragmatic introduction to natural language processing models (October 2019)
A pragmatic introduction to natural language processing models (October 2019)
 
Building smart applications with AWS AI services (October 2019)
Building smart applications with AWS AI services (October 2019)Building smart applications with AWS AI services (October 2019)
Building smart applications with AWS AI services (October 2019)
 
Build, train and deploy ML models with SageMaker (October 2019)
Build, train and deploy ML models with SageMaker (October 2019)Build, train and deploy ML models with SageMaker (October 2019)
Build, train and deploy ML models with SageMaker (October 2019)
 
The Future of AI (September 2019)
The Future of AI (September 2019)The Future of AI (September 2019)
The Future of AI (September 2019)
 
Building Machine Learning Inference Pipelines at Scale (July 2019)
Building Machine Learning Inference Pipelines at Scale (July 2019)Building Machine Learning Inference Pipelines at Scale (July 2019)
Building Machine Learning Inference Pipelines at Scale (July 2019)
 
Train and Deploy Machine Learning Workloads with AWS Container Services (July...
Train and Deploy Machine Learning Workloads with AWS Container Services (July...Train and Deploy Machine Learning Workloads with AWS Container Services (July...
Train and Deploy Machine Learning Workloads with AWS Container Services (July...
 
Optimize your Machine Learning Workloads on AWS (July 2019)
Optimize your Machine Learning Workloads on AWS (July 2019)Optimize your Machine Learning Workloads on AWS (July 2019)
Optimize your Machine Learning Workloads on AWS (July 2019)
 
Deep Learning on Amazon Sagemaker (July 2019)
Deep Learning on Amazon Sagemaker (July 2019)Deep Learning on Amazon Sagemaker (July 2019)
Deep Learning on Amazon Sagemaker (July 2019)
 
Automate your Amazon SageMaker Workflows (July 2019)
Automate your Amazon SageMaker Workflows (July 2019)Automate your Amazon SageMaker Workflows (July 2019)
Automate your Amazon SageMaker Workflows (July 2019)
 
Build, train and deploy ML models with Amazon SageMaker (May 2019)
Build, train and deploy ML models with Amazon SageMaker (May 2019)Build, train and deploy ML models with Amazon SageMaker (May 2019)
Build, train and deploy ML models with Amazon SageMaker (May 2019)
 

Último

Último (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 

Building Open Source Platforms on AWS (April 2017)

  • 1. Building Open Source platforms ! on AWS Julien Simon Principal Technical Evangelist Amazon Web Services julsimon@amazon.fr @julsimon
  • 2. Agenda •  VMs & OSes •  Language SDKs •  Docker •  Development infrastructure •  Databases •  Analytics •  Conclusion
  • 4. AWS Global Infrastructure 16 Regions 42 Availability Zones 73 Edge Locations
  • 5. Amazon EC2 •  Infrastructure as a Service, launched in 2006 •  Virtual machines (EC2 instances) and images (Amazon Machine Images) •  AMIs: Amazon, 3rd party (EC2 Marketplace), community or your own •  All-inclusive: networking (Virtual Private Cloud), storage (Elastic Block Storage), firewalling (Security Group), load balancing (Elastic Load Balancing), high availability (Availability Zones), automatic scaling (Auto Scaling groups), monitoring (Cloudwatch) •  Pay on an hourly basis •  Or use Reserved Instances and Spot Instances for large savings https://aws.amazon.com/ec2/ http://aws.amazon.com/free/ https://aws.amazon.com/ec2/pricing/reserved-instances/ https://aws.amazon.com/ec2/spot/
  • 6. « I can get less expensive VMs at X, Y or Z » •  Comparing apples and oranges? •  Take a good look at: –  Geographical coverage –  Width and depth of technical services (Auto Scaling, Load Balancing, etc.) –  High availability: not all “regions” are born equal –  Security & Compliance –  Cost optimization (Reserved Instances, Spot Instances, etc.) 05/01/16 https://aws.amazon.com/blogs/aws/happy-new-year-ec2-price-reduction-c4-m4-and-r3-instances/ 11/08/16 https://aws.amazon.com/blogs/aws/amazon-elastic-block-store-ebs-update-snapshot-price-reduction-more-piopsgib/ 14/11/16 https://aws.amazon.com/blogs/aws/ec2-price-reduction-c4-m4-and-t2-instances/
  • 7. Instances Types <Family><Generation>.<Size>, e.g. m4.xlarge General purpose: t2 (burstable), m4 Compute-optimized: c4 Storage-optimized: i3 (I/O), d2 (Density) Memory-optimized: r4, x1 GPU: g2, p2 FPGA: f1 t2.nano: 1 vCPU, 512MB RAM, EBS storage x1.32xlarge: 128 vCPU, 2TB RAM, 4TB SSD, 10Gb network https://aws.amazon.com/ec2/instance-types/
  • 8. Amazon Linux •  Evolved from CentOS •  Secure configuration •  Pre-installed AWS tools •  Integrated with AWS repositories & security updates •  Available as Docker container •  Easy incremental updates yum clean all && yum update && reboot •  Latest version: Amazon Linux 2017.03 (kernel 4.9.x) https://aws.amazon.com/amazon-linux-ami/ https://aws.amazon.com/amazon-linux-ami/2017.03-release-notes/ https://docs.aws.amazon.com/AmazonECR/latest/userguide/amazon_linux_container_image.html
  • 10. Baking your own AMI •  Create a golden image to speed up deployment and ! Auto Scaling •  AWS CLI: aws ec2 create-image! •  Aminator: Netflix tool, EC2 only for Red Hat and CentOS •  Packer: Hashicorp tool, more features http://docs.aws.amazon.com/cli/latest/reference/ec2/create-image.html https://github.com/Netflix/aminator https://www.packer.io
  • 11. « VMs are all I need. I can build everything else » •  Really? •  How long will it take to build AND maintain? –  Daily sysadmin: monitoring, logs, backups, etc. –  Upgrading, capacity planning, scaling, etc. –  Security audits, patches, etc. –  Fixing whatever broke down at 2AM… •  How much is your own time worth? •  Your company’s time? •  Wouldn’t you like to focus on your product?
  • 13. 10 programming environments •  Android! https://github.com/aws/aws-sdk-android •  C++! https://github.com/aws/aws-sdk-cpp •  Go! https://github.com/aws/aws-sdk-go •  iOS! https://github.com/aws/aws-sdk-ios •  Java! https://github.com/aws/aws-sdk-java •  Javascript / Node.js! https://github.com/aws/aws-sdk-js •  .NET! https://github.com/aws/aws-sdk-net •  Python! https://github.com/boto/boto3 •  PHP! https://github.com/aws/aws-sdk-php •  Ruby! https://github.com/aws/aws-sdk-ruby https://github.com/aws/aws-toolkit-eclipse https://aws.amazon.com/visualstudio/
  • 15. Running Docker on AWS •  Use docker-machine to start EC2 instances •  Start Docker-enabled AMIs •  Build Docker clusters •  Use Docker-based PaaS platforms https://convox.com/blog/docker-in-production/
  • 16. Docker-machine docker-machine create --driver amazonec2 --amazonec2-region region --amazonec2-zone az --amazonec2-instance-type type instance_name docker-machine ssh instance_name https://docs.docker.com/machine/drivers/aws/
  • 17. Docker-enabled AMIs Available on the AWS Marketplace RancherOS Rancher Server runs as a container CoreOS CloudFormation template ! on CoreOS page Amazon ECS-optimized AMI Amazon Linux + Amazon ECS Agent + Docker 1.12.6 More on ECS in a minute J http://docs.rancher.com/os/running-rancheros/cloud/aws/ https://coreos.com/os/docs/latest/booting-on-ec2.html http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
  • 19. Docker Swarm •  Installation with docker-machine •  Docker for AWS Create Swarm with CloudFormation •  Docker Datacenter –  End-to-end platform for ! container management –  Ready in 20-30 minutes http://docs.docker.com/swarm/install-manual/ http://blog.scottlowe.org/2016/03/25/docker-swarm-aws-docker-machine/ https://docs.docker.com/docker-for-aws/ https://aws.amazon.com/about-aws/whats-new/2016/06/docker-datacenter-on-the-aws-cloud-quick-start-reference-deployment/
  • 20. Kubernetes $ kube-aws init --cluster-name=my-cluster-name --external-dns-name=my-cluster-endpoint --region=region-name --availability-zone=az-name --key-name=keypair-name --kms-key-arn=key-arn $ kube-aws render à CloudFormation template $ kube-aws up https://coreos.com/kubernetes/docs/latest/kubernetes-on-aws.html
  • 21. Amazon ECS and ECR Amazon EC2 Container Service (ECS) •  Orchestration of Docker clusters •  No charge Amazon EC2 Container Registry (ECR) •  Managed private Docker Registry •  Free tier available •  $0.10 / GB / month + outgoing traffic http://www.allthingsdistributed.com/2014/11/amazon-ec2-container-service.html http://www.allthingsdistributed.com/2015/04/state-management-and-scheduling-with-ecs.html! http://www.allthingsdistributed.com/2015/07/under-the-hood-of-the-amazon-ec2-container-service.html https://aws.amazon.com/ecs/ https://aws.amazon.com/ecr/
  • 22. The Amazon ECS CLI in one slide ecs-cli configure --cluster cluster_name --region region_name ecs-cli up --keypair keypair --capability-iam –size nb_nodes
 ecs-cli compose service up ecs-cli compose service ps ecs-cli compose service scale nb_containers ecs-cli compose service stop ecs-cli compose service delete ecs-cli down cluster_name --force https://github.com/aws/amazon-ecs-cli
  • 24. Empire •  Simple Open Source PaaS built by Remind •  Based on Amazon ECS •  Well-suited for ! 12-factor platforms http://engineering.remind.com/introducing-empire/ https://github.com/remind101/empire https://www.youtube.com/watch?v=8zbbQkszP04 https://12factor.net
  • 25. Convox Rack •  Open Source PaaS •  Ex-Heroku engineers •  Based on Amazon ECS https://github.com/convox/rack http://www.slideshare.net/nzoschke/minimum-viable-infrastructure MySQL, PostgreSQL, memcached & Redis ! available thanks to ! AWS Managed Services
  • 26. Openshift •  Open Source PaaS built by Red Hat •  AWS Quick Start reference guide –  CloudFormation template •  Openshift Dedicated –  Platform hosted in the AWS cloud https://github.com/openshift/origin https://aws.amazon.com/about-aws/whats-new/2016/06/red-hat-openshift-on-the-aws-cloud-quick-start-reference-deployment/ https://www.openshift.com/dedicated/
  • 29. Most of them (and many more) are available on the Marketplace
  • 30. They all work with our DevOps tools (aka Code*) Testing Staging Production deploy deploy deploy Source Build release AWS CodeDeploy (no charge for EC2) AWS Code Pipeline https://aws.amazon.com/codecommit/ https://aws.amazon.com/codepipeline/ https://aws.amazon.com/codedeploy/ https://aws.amazon.com/codebuild/ AWS Code! Commit AWS Code! Build
  • 31. AWS OpsWorks •  Managed Chef server –  Chef 12, 11.10, 11.4 and 0.9 for Linux stacks –  Chef 12.2 for Windows stacks •  Auto Healing •  Automatic Instance Scaling •  Monitoring •  Support for on-premises servers •  Permissions and policy management with IAM •  No charge for EC2 https://aws.amazon.com/opsworks/ http://docs.aws.amazon.com/opsworks/latest/userguide/best-practices-server-migrate.html
  • 33. Amazon Relational Database Service (RDS) •  Managed infrastructure –  SLA >= 99.95% for multi-AZ setups –  Automatic backups & minor upgrades –  No access to the database host operating system •  Scalable compute & storage –  No downtime in most cases –  Max storage for MySQL, MariaDB, PostgreSQL: 6 TB •  3 Open Source engines –  MySQL: 5.5.40a à 5.7.16 –  MariaDB: 10.0.17 à 10.1.19 –  PostgreSQL: 9.3.12-R1 à 9.6.1-R1 https://aws.amazon.com/rds/ https://aws.amazon.com/releasenotes/Amazon-RDS https://aws.amazon.com/rds/sla/
  • 35. Amazon Aurora •  Compatible with MySQL 5.6 (with some 5.7 features) •  Scalable compute & storage (up to 64TB) •  5x the throughput of MySQL on the same hardware: ! up to 500K reads and 100K writes per second •  10 ms latency on up to 15 read replicas •  Availability > 99.99%, failover < 30s •  6 copies of your data in 3 AZs + continuous backup to S3 •  Customers end up using smaller instances and/or less instances than MySQL à Aurora can be less expensive! https://aws.amazon.com/rds/aurora/ https://d0.awsstatic.com/product-marketing/Aurora/RDS_Aurora_Performance_Assessment_Benchmarking_v1-2.pdf fastest growing service in AWS history
  • 36. NoSQL
  • 37. Memcached & Redis •  Amazon ElastiCache •  Managed service for in-memory data •  Memcached –  1.4.5 à 1.4.33 –  Automatic node discovery •  Redis –  2.6.13 à 3.2.4 –  Scale up without losing data thanks to replication –  Scale out: up to 15 shards with 5 read replicas each! à 3.5 TB, 20M reads and 4.5M writes per second –  Backups & restores https://redislabs.com/blog/5-tips-for-running-redis-over-aws https://aws.amazon.com/elasticache/ https://d0.awsstatic.com/whitepapers/performance-at-scale-with-amazon-elasticache.pdf
  • 38. MongoDB •  AWS Quick Start reference guide –  CloudFormation template for v2.6, v3.0 or v3.2 –  Build a sharded cluster running on Amazon Linux in 15 minutes •  MongoDB Cloud Manager Provision and monitor instances in AWS •  MongoDB Atlas: MongoDB as a Service on AWS https://docs.mongodb.com/ecosystem/platforms/amazon-ec2/ http://docs.aws.amazon.com/quickstart/latest/mongodb/welcome.html https://www.mongodb.com/cloud/cloud-manager ! https://www.mongodb.com/cloud/atlas
  • 39. Apache Cassandra •  Build your own on EC2 Please read our whitepaper for guidelines and best pratices •  Use the Datastax AMI http://www.techrepublic.com/article/the-battle-for-apache-cassandra-highlights-major-problem-with-open-source-projects/ •  Instaclustr: Cassandra as a Service on AWS •  Alternative: Amazon DynamoDB https://d0.awsstatic.com/whitepapers/Cassandra_on_AWS.pdf https://docs.datastax.com/en/cassandra/2.1/cassandra/install/installAMI.html https://github.com/riptano/comboami aws dynamodb create-table
  • 41. Elasticsearch •  Amazon Elasticsearch Service •  Managed service (v1.5, v2.3, v5.1) •  Scale compute and storage without downtime •  Automatic detection and replacement of failed nodes •  Snapshots to S3 •  Integration with LogStash and CloudWatch Logs •  Built-in Kibana 3 & 4 https://www.elastic.co/blog/running-elasticsearch-on-aws https://aws.amazon.com/elasticsearch-service/ https://github.com/awslabs/logstash-output-amazon_es http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_ES_Stream.html
  • 42. RabbitMQ •  Build your own on EC2 •  CloudAMQP: RabbitMQ as a Service on AWS •  Alternative: Amazon SQS https://www.rabbitmq.com/ec2.html https://www.cloudamqp.com/blog/2014-11-14-amazon-vpc-peering.html https://aws.amazon.com/sqs/ aws sqs create-queue --queue-name name
  • 43. Apache Kafka •  Build your own on EC2 –  Quick start for Confluent platform •  Cloudkafka: Kafka as a Service on AWS •  Alternative: Amazon Kinesis https://aws.amazon.com/blogs/big-data/real-time-stream-processing-using-apache-spark-streaming-and-apache-kafka-on-aws/ https://www.confluent.io/blog/design-and-deployment-considerations-for-deploying-apache-kafka-on-aws/ https://www.cloudkafka.com https://aws.amazon.com/about-aws/whats-new/2017/04/new-quick-start-deploys-confluent-platform-on-the-aws-cloud/ https://aws.amazon.com/kinesis/ aws kinesis create-stream --stream-name name --shard-count nb_shards
  • 44. Apache Hadoop and friends •  Cloudera –  AWS Quick Start reference guide: CloudFormation template •  Hortonworks –  Hortonworks Data Cloud: CloudFormation template on AWS Marketplace http://blog.cloudera.com/blog/2013/03/how-to-create-a-cdh-cluster-on-amazon-ec2-via-cloudera-manager/ http://docs.aws.amazon.com/quickstart/latest/cloudera/welcome.html http://fr.hortonworks.com/blog/deploying-hadoop-cluster-amazon-ec2-hortonworks/ https://fr.hortonworks.com/products/cloud/aws/
  • 45. Amazon Elastic Map Reduce (EMR) •  Apache Hadoop, Spark, Hive,etc. •  Managed service •  Easy to start, resize & terminate clusters •  Cost-efficient, especially with Spot Instances •  Integration with backends https://aws.amazon.com/emr/
  • 47.
  • 48. Notable Open Source projects @ AWS AWS Labs https://github.com/awslabs •  aws-shell https://github.com/awslabs/aws-shell •  s2n https://github.com/awslabs/s2n •  chalice https://github.com/awslabs/chalice Blox: tools for custom Docker scheduling https://blox.github.io Mxnet: Deep Learning library http://mxnet.io
  • 49. Bugfixes and Feature Contributions •  Linux & Drivers •  Xen •  Apache Tomcat •  PostgreSQL •  Docker •  Boto •  Apache Hadoop •  Apache Hive •  Apache Bigtop •  Apache Oozie •  Apache Drill •  Apache Zeppelin •  Apache Pig •  Cloudera HUE •  Apache Lucene •  Apache Solr •  Kuromoji •  ElasticSearch •  CBMC •  Moses •  Apache Joshua
  • 50. AWS is a rich and lively environment for Open Source platforms Your choice: DIY, Marketplace, Partners, AWS Managed Services The tools & projects you love, with less or no infrastructure drama Built-in high availability, scalability, security & compliance Focus on creativity and productivity, not on plumbing
  • 51. Thank you! Julien Simon Principal Technical Evangelist Amazon Web Services julsimon@amazon.fr @julsimon