Skip to main content

AWS Update procedure

Pre-requirements

  • First Terraform apply already applied successfully without dummy installation.
  • You have all the needed secrets and backed configured properly (AWS Requiremenets)
  • AWS Cloud team provided newer/updated Aos_Cloud_AWS code.

Aos Cloud Image delivery

Terraform Infrastructure setup takes care of the retrieval of specific version of the images, depending on the release.

  • After first run, you need to ask cloud team to open firewall to your environment specific public ip address, to be able to retrieve the aos cloud images needed, additionally you need to ask for temporary token/password to be able to retrieve registry images directly from aoscloud ACR.
  • Updated terraform code variables will be provided to customer for convenience (stable and tested release version). Upgrade will happen without interruption, in next terraform apply.
  • Terraform scripts will download specific version of AOS Cloud images and will install them through helm with lambda functions.

Upgrade

  1. Follow instructions for build the needed tar.gz for helm installation through s3 bucket and lambda binaries build.
  2. Terraform plan and apply.
  3. It takes about 4m for upgrade to be completed and rolled out with no interruption of services.

Notes

  • It is needed to inform AOS Cloud team about this for them to open the ACR firewall to your AWS NAT Public ip address.
  • In case of failure when image sync it is happening terraform will abort upgrade.
  • In case of helm upgrade lambda error, we can start troubleshooting with lambda log groups aos-<env>-helm/