Update a service
How to deploy updated functionality into your environment
Currently, this is a two-step process, first updating the container image and then using OpsCanvas. You will need to find the following values by following these instructions.
Name of the service to update
Service image URI
Account ID
Deploy Role
Update the service image
Once the image has been added to the OpsCanvas diagram the following steps can be added to your CI pipeline file.
Log into your OpsCanvas ECR repository
If this is running in your CI pipeline, make sure the pipeline has assumed the deploy role account, e.g. arn:aws:iam:<account-id>:role/<deploy-role>
:
Tag and push the image
Use the image uri listed in the environment information page as the image tag:
Once the image has been updated, any new environments deployed will use the new image.
Update your application
Login to https://app.opscanvas.io, navigate to the environments page and find the environment you wish to update.
On the environment tile, click the "Update env" button.
This will take you straight to the deployment configuration screen. You won't need to make any changes to the configuration, simply click "Save and continue" at the bottom of the screen.
After accepting the terms & conditions your application will be re-deployed. NOTE: the services in your Kubernetes cluster will be re-installed, but, the managed infrastructure will not be affected.
Last updated