github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/apps/java/deploy/aws.html.md (about) 1 --- 2 layout: "app_java" 3 page_title: "AWS - Build & Deploy - Java App Type" 4 sidebar_current: "docs-java-deploy-aws" 5 description: |- 6 This page documents how the Java application builds and deploys on 7 AWS infrastructure. 8 --- 9 10 # Build & Deploy: AWS 11 12 This page documents how the Java application builds and deploys on 13 [AWS infrastructure](/docs/infra/aws). 14 15 The sections below are split into a section of commonalities between 16 the different infrastructure flavors, and then specific sections for 17 each infrastructure flavor. 18 19 Please see the [customizations](/docs/apps/java/customization.html) 20 page for a list of behavior that can be changed. 21 22 ## Common 23 24 For all AWS flavors: 25 26 * The build output is an AMI. 27 28 * The deploy process launches at least one EC2 instance. The size 29 of this instance varies by infrastructure flavor. 30 31 * A custom security group just for that application is created. The 32 exact rules of the security group vary by infrastructure flavor. 33 34 ## Flavor: "simple" 35 36 For the "simple" AWS flavor: 37 38 * A single `t2.micro` EC2 instance is launched to serve the application. 39 40 * The security group allows only SSH access from the outside world. 41 42 ## Flavor: "vpc-public-private" 43 44 For the "vpc-public-private" flavor: 45 46 * One `t2.small` EC2 instance is launched to serve the application. 47 48 * The EC2 instances are launched into the private subnet and can only 49 be accessed for SSH via the bastion host.