Skip to content

Commit

Permalink
deployment: Update AMIs to Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
cruizba committed May 21, 2024
1 parent 218a9b5 commit 2adbdd9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion openvidu-server/deployments/ce/aws/createAMI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ TEMPJSON=$(mktemp -t cloudformation-XXX --suffix .json)
getUbuntuAmiId() {
local AMI_ID=$(
aws --region ${1} ec2 describe-images \
--filters "Name=name,Values=*ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*" \
--filters "Name=name,Values=*ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*" \
"Name=owner-alias,Values=amazon" \
--query "sort_by(Images, &CreationDate)" |
jq -r '.[-1].ImageId'
Expand Down
2 changes: 1 addition & 1 deletion openvidu-server/deployments/enterprise/aws/createAMI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TEMPJSON=$(mktemp -t cloudformation-XXX --suffix .json)
getUbuntuAmiId() {
local AMI_ID=$(
aws --region ${1} ec2 describe-images \
--filters "Name=name,Values=*ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*" \
--filters "Name=name,Values=*ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*" \
"Name=owner-alias,Values=amazon" \
--query "sort_by(Images, &CreationDate)" |
jq -r '.[-1].ImageId'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ TEMPJSON=$(mktemp -t cloudformation-XXX --suffix .json)
getUbuntuAmiId() {
local AMI_ID=$(
aws --region ${1} ec2 describe-images \
--filters "Name=name,Values=*ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*" \
--filters "Name=name,Values=*ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*" \
"Name=owner-alias,Values=amazon" \
--query "sort_by(Images, &CreationDate)" |
jq -r '.[-1].ImageId'
Expand Down
2 changes: 1 addition & 1 deletion openvidu-server/deployments/pro/aws/createAMI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ TEMPJSON=$(mktemp -t cloudformation-XXX --suffix .json)
getUbuntuAmiId() {
local AMI_ID=$(
aws --region ${1} ec2 describe-images \
--filters "Name=name,Values=*ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*" \
--filters "Name=name,Values=*ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*" \
"Name=owner-alias,Values=amazon" \
--query "sort_by(Images, &CreationDate)" |
jq -r '.[-1].ImageId'
Expand Down

0 comments on commit 2adbdd9

Please sign in to comment.