Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

523
Vistas
Deploy previous version in AWS Codepipeline

I am new to AWS and trying to create a pipeline for CICD. Stages involved in my pipeline are:

  1. Source -> Codecommit
  2. Build -> Codebuild project
  3. Deploy using Cloudformation

I am able to complete the pipeline and deployment is successful. But I am struggling to implement a rollback procedure with this. How to deploy previous version without making a code revert in the repository? Any help regarding this?

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

I changed the pipeline configuration a bit and now I am able to deploy any version from history. Below is the solution:

  1. Source -> Codecommit
  2. Build -> Codebuild project
  3. Deploy using CodeDeploy instead of Cloudformation

Now, deployment history can be triggered at any time. Pick the version from the history in the deployments under code deploy and retry deployment.

over 4 years ago · Santiago Trujillo Denunciar

0

Unfortunately there is currently no rollback step for CodePipeline, traditionally people would rollback by reverting the change from their master branch (which is meant to represent the state of live).

If you're unable to do this revert, then you will need to manage the rollback either from a different service or different pipeline.

As you're using CloudFormation you could take a look at implementing Rollback Triggers which would monitor the status of an alarm. If the alarm fails then it could rollback and fail the pipeline.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda