Skip to content
Snippets Groups Projects
Commit c0f53020 authored by Dmitry Fleytman's avatar Dmitry Fleytman Committed by Pekka Enberg
Browse files

release-ec2: Base released images on Linux AMI


Linux AMI suits OSv better because of default settings
instances inherit on creation - mainly preconfigured SSH
access and open SSH ports.

Signed-off-by: default avatarDmitry Fleytman <dmitry@daynix.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 42493eef
No related branches found
No related tags found
No related merge requests found
......@@ -114,8 +114,8 @@ S3_CREDENTIALS="-O $AWS_ACCESS_KEY_ID -W $AWS_SECRET_ACCESS_KEY"
export AWS_DEFAULT_REGION=us-east-1
OSV_INITIAL_ZONE="${AWS_DEFAULT_REGION}a"
#We use OSv-v0.03 AMI in us-east-1 as a template
TEMPLATE_AMI_ID=ami-45d2882c
#We use OSv-v0.06 AMI in us-east-1 as a template
TEMPLATE_AMI_ID=ami-e7ced38e
amend_rstatus() {
echo \[`timestamp`\] $* >> $OSV_RSTATUS
......@@ -180,7 +180,7 @@ wait_import_completion() {
}
launch_template_instance() {
$EC2_HOME/bin/ec2-run-instances $TEMPLATE_AMI_ID --availability-zone $OSV_INITIAL_ZONE | tee /dev/tty | ec2_response_value INSTANCE INSTANCE
$EC2_HOME/bin/ec2-run-instances $TEMPLATE_AMI_ID --availability-zone $OSV_INITIAL_ZONE --instance-type m3.medium | tee /dev/tty | ec2_response_value INSTANCE INSTANCE
}
get_instance_state() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment