workshop: discover "java infrastructure as code" with amazon aws
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](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/1.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/2.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/3.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/4.jpg)
4
Amazon AWS ServicesIaaS & PaaS
Saturday, August 13, 11
![Page 5: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/7.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/8.jpg)
8
Amazon AWS TopologyRegions & Availability Zones
Saturday, August 13, 11
![Page 9: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/10.jpg)
Amazon AWS Infrastructure
10
Availability Zones = Data Centers
Saturday, August 13, 11
![Page 11: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/11.jpg)
11
Infrastructure as Code
Saturday, August 13, 11
![Page 12: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/12.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/13.jpg)
13
Let’s start the lab!
Saturday, August 13, 11
![Page 14: Workshop: Discover "Java Infrastructure as Code" with Amazon AWS](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/14.jpg)
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](https://reader034.vdocuments.net/reader034/viewer/2022042816/55946fe81a28ab990e8b4645/html5/thumbnails/15.jpg)
Petclinic on Amazon AWS
The Lab:
http://code.google.com/p/xebia-france/wiki/JavaInfrastructureAsCodeWithAmazonAwsWorkshop
15Saturday, August 13, 11