workshop: discover "java infrastructure as code" with amazon aws

15
Discover Java Infrastructure As Code with Amazon AWS Xebia Workshop Xebia: Bertrand Dechoux Charles Blonde Cyrille Le Clerc Emmanuel Servent Eric Briand OpenCSI: Bruno Bonfils Saturday, August 13, 11

Upload: xebia-france

Post on 02-Jul-2015

6.502 views

Category:

Technology


0 download

DESCRIPTION

This workshop presents how "infrastructure as code" and cloud computing can be used we java application.

TRANSCRIPT

Page 1: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

DiscoverJava Infrastructure As Code

with Amazon AWS

Xebia Workshop

Xebia: Bertrand Dechoux Charles Blonde Cyrille Le Clerc Emmanuel Servent Eric Briand

OpenCSI: Bruno Bonfils

Saturday, August 13, 11

Page 2: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

Purpose of this workshop

Java DEVs oriented!▶Use real life use cases

Introduce to Java DEVs:▶ Infrastructure as Code▶Cloud Computing

Help Java DEVS to:▶Automate their deployments▶Be Cloud-Ready :-)▶Embrace DevOps

2Saturday, August 13, 11

Page 3: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

Next steps after this workshop

▶Still Java focused (thinking about PHP & Ruby)

▶DevOps» Automated/Continuous Deployment with Rundeck»Monitoring and metrics

▶Cloud Computing» PaaS: Java Servlet Engine as a Service

▶Enterprise & Web Architecture Trainings» Cloud Computing = dozens of servers for training» NoSQL, caching, high availability, etc

3Saturday, August 13, 11

Page 4: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

4

Amazon AWS ServicesIaaS & PaaS

Saturday, August 13, 11

Page 5: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

Glossary

SaaS (Software as a Service)▶Hosted application (e.g.: Salesforce)▶Predictable costs

PaaS (Platform as a Service)▶Ready to use environment to deploy your applications▶No ops skill required▶May be difficult to estimate costs

IaaS (Infrastructure as a Service)▶Create your server to host what you want▶Require some ops skills▶May be difficult to estimate costs

5Saturday, August 13, 11

Page 6: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

Infrastructure as a Service / IaaS

S3: Simple Storage Service EBS: Elastic Block Store

EC2: Elastic Cloud compute

ELB: Elastic Load Balancing

Route 53: DNS CloudFront: Content Delivery Network (CDN)

6Saturday, August 13, 11

Page 7: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

Platform as a Service / PaaS

RDS: Relational Data Service SQS: Simple Queue Service SNS: Simple Notification Service SES: Simple Email Service Elastic MapReduce:MapReduce based on HadoopBeanstalk: Tomcat as a Service ...

7Saturday, August 13, 11

Page 8: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

8

Amazon AWS TopologyRegions & Availability Zones

Saturday, August 13, 11

Page 9: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

Amazon AWS Infrastructure

9

Five Amazon AWS Regions

EU WestIreland

US EastVirginia

US WestN. Carolina Asia Pacific

Tokyo

Asia PacificSingapore

Saturday, August 13, 11

Page 10: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

Amazon AWS Infrastructure

10

Availability Zones = Data Centers

Saturday, August 13, 11

Page 11: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

11

Infrastructure as Code

Saturday, August 13, 11

Page 12: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

Infrastructure as Code

Benefits▶Scalability» too many servers to do it manually» add nodes on demand

▶Reliability, Reproducibility & Traceability» no human direct change

▶Testable infrastructure

How?▶Physical infrastructure: public or private cloud » Amazon Aws/ec2, RackSpace, OpenStack, etc.

▶Software infrastructure: Configuration Mgmt Systems» CFEngine, Chef, Puppet, etc.

12Saturday, August 13, 11

Page 13: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

13

Let’s start the lab!

Saturday, August 13, 11

Page 14: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

Petclinic on Amazon AWS

14

Amazon Linux

petclinic

tomcat

Amazon Linux

petclinic

tomcat

Amazon Elastic

Load Balancer

80 Amazon RDS

MySQL

8080

8080

Petclinic infrastructure on Amazon AWS

Saturday, August 13, 11

Page 15: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS

Petclinic on Amazon AWS

The Lab:

http://code.google.com/p/xebia-france/wiki/JavaInfrastructureAsCodeWithAmazonAwsWorkshop

15Saturday, August 13, 11