Skip to content

GSS backup environment update

Create a set of parameters in Parameter Store:

backup_env_1.png

Environment variable of BeanStalk:

update spring.profiles.active from stage to prod

backup_env_2.png

problems encountered:

  1. Need to add new policy(AmazonSSMFullAccess) to the corresponding role:

backup_env_3.png

2. When the environment variable is updated and the BeanStalk environment is redeployed, an instance may report the following errors. At this time, you can immediately terminal the instance that reported the error in EC2 console, and BeanStalk will reassign a new instance.

  • 100.0 % of the requests are erroring with HTTP 4xx. Insufficient request rate (12.0 requests/min) to determine application health.
  • Incorrect application version "1.01160242.null" (deployment 203). Expected version "1.01160242.null" (deployment 202).
  • Process default has been unhealthy for 23 minutes (Target.ResponseCodeMismatch).

CodePipeline:

update S3 folder from stage/preprod to prod for FetchDistribution and NotifySparkRoom stages

backup_env_4.png

backup_env_5.png

backup_env_6.png

backup_env_7.png