zmoog / public-notes

Apache License 2.0
0 stars 1 forks source link

Figure out how to upgrade ESF (AWS console install method) #30

Open zmoog opened 1 year ago

zmoog commented 1 year ago

I want to test the upgrade process when ESF is installed from SAR.

Related:

zmoog commented 1 year ago

Overview:

  1. Publish ESF 1.7.2 as a private SAR application
  2. Deploy ESF 1.72
  3. Upgrade ESF 1.7.2 to 1.8.0

(1) Publish ESF 1.7.2 as a private SAR application


git checkout lambda-1.7.2

. venv/bin/activate

make all-requirements

.internal/aws/scripts/dist.sh elastic-serverless-forwarder-maurizio 1.7.2 mbranca-elastic-serverless-forwarder-artifacts 1234567890 eu-west-1 "Maurizio Branca"

(2) Deploy ESF 1.72

Now we have a private SAR application; we can deploy ESF from SAR.

Please look at #31 for a step-by-step guide through this process.

zmoog commented 1 year ago

(3) Upgrade ESF from 1.7.2 to 1.8.0

Upgrading ESF requires you to pick the new version and insert the same settings again.

Publish ESF 1.8.0

.internal/aws/scripts/dist.sh elastic-serverless-forwarder-maurizio \
  1.8.0 mbranca-elastic-serverless-forwarder-artifacts \
  1234567890 \
  eu-west-1 \
  "Maurizio Branca"

Upgrade

Set the same configuration options you are using for ESF 1.7.2.

CleanShot 2023-04-27 at 12 40 26@2x