Application Deployment on AMP

Rancher tenancy

Topic

  • Tenancy account creation

  • SSL certificates and DNSĀ 

  • Build and deploy applications using Bamboo

  • Blue-green deployment

  • Simplify build pipeline

  • Manage secrets using credstash

Tenancy account setup

  • Jira for tenancy accounts creation
  • Jira for external route53 DNS
  • SSL Certificate and WAF setup

Build plan

  • build base images
  • common libraries
  • build plan with Makefile
  • build from feature branches
  • manage aws access
  • manage ecr login
  • artifacts for deployment plans
  • security checks (checkmarx and source clear scan, etc)

Deployment

  • environments and promotion (dev, svt, preprod, prod)
  • manage deployment plans with Makefile as well
  • run deploy command via docker tools
  • manage rancher api keys
  • manage environment variables

Blue-green deployment

  • deploy to green stack
  • run test on green stack
  • switch DNS or load balancer endpoint to blue with new service
  • run test on blue stack
  • stop or decommission old blue service

Credstash

  • manage secrets in O2A projects
  • AMP needs assign proper permission to rancher hosts.
  • simple commands
  • Increase read capacity for production environment
  • missed lookup features currently

QUESTIONS

References

Application Deployment on AMP - Rancher tenancy

By Bill WANG

Application Deployment on AMP - Rancher tenancy

  • 359