Skip to content

Commit

Permalink
change amazon ami
Browse files Browse the repository at this point in the history
  • Loading branch information
loky9000 committed Mar 25, 2015
1 parent 640621b commit b8e32c7
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion starter-java-web.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
application:
configuration:
input.operating-system: {image: "us-east-1/ami-5ccae734", identity: ec2-user}
input.lb-bucket: http://roundrobin:80
input.app-fork: qubell
input.app-branch: HEAD #red, master
Expand All @@ -16,6 +17,7 @@ application:
app-branch: "bind(main.workflow#input.app-branch)"
lb-bucket: "bind(main.workflow#input.lb-bucket)"
app-quantity: "bind(AppServer#input.quantity)"
operating-system: "bind(Database#input.operating-system, AppServer#input.operating-system, LoadBalancer#input.operating-system)"
app-meta:
application-pic: "bind(metadata#output.application-pic)"
endpoints:
Expand Down Expand Up @@ -360,6 +362,13 @@ application:
__locator.application-id: "Database"
interfaces:
input:
operating-system:
type: configuration(map<string,object>)
suggestions: # Create dropdown menu in advanced launch
"centos": {image: "us-east-1/ami-bf5021d6", identity: root}
"amazon": {image: "us-east-1/ami-5ccae734", identity: ec2-user}
"ubuntu1204": {image: "us-east-1/ami-967edcff", identity: ubuntu}
"ubuntu1004": {image: "us-east-1/ami-9f3906f6", identity: ubuntu}
db-port:
type: configuration(int)
name: Database port
Expand Down Expand Up @@ -393,7 +402,7 @@ application:
type: configuration(map<string,object>)
suggestions:
"centos": {image: "us-east-1/ami-bf5021d6", identity: root}
"amazon": {image: "us-east-1/ami-1ba18d72", identity: ec2-user}
"amazon": {image: "us-east-1/ami-5ccae734", identity: ec2-user}
"ubuntu1204": {image: "us-east-1/ami-967edcff", identity: ubuntu}
"ubuntu1004": {image: "us-east-1/ami-9f3906f6", identity: ubuntu}
instance-size:
Expand Down Expand Up @@ -430,6 +439,14 @@ application:
configuration:
__locator.application-id: "Load Balancer"
interfaces:
input:
operating-system:
type: configuration(map<string,object>)
suggestions: # Create dropdown menu in advanced launch
"centos": {image: "us-east-1/ami-bf5021d6", identity: root}
"amazon": {image: "us-east-1/ami-5ccae734", identity: ec2-user}
"ubuntu1204": {image: "us-east-1/ami-967edcff", identity: ubuntu}
"ubuntu1004": {image: "us-east-1/ami-9f3906f6", identity: ubuntu}
haproxy:
add-servers:
type: receive-command(list<string> app-hosts, int app-port, string lb-bucket => string entry-url)
Expand Down

0 comments on commit b8e32c7

Please sign in to comment.