Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CI/CD Best Practices for Efficient Deployments

Avatar for MONIKA RAJPUT MONIKA RAJPUT
January 27, 2024
16

CI/CD Best Practices for Efficient Deployments

After working at four early-stage startups as a founding engineer, I realized the importance of moving faster and learned how to be fast, including the tools that make it possible. So, this talk is all about moving faster with deployment.

The session will include -

1. Introduction to CI/CD and the importance of deployment tools like Jenkins, Github Actions, or Spinnaker.
2. How to deploy, configure, and use Jenkins to create robust CI/CD pipelines for multi-cloud platforms.
3. Strategies for architecting low-risk CI/CD pipelines.
4. Empower teams through self-service deployment pipelines.
5. Accelerating development velocity with efficient CI/CD practices.
6. Financial benefits, including reduced infrastructure costs.
7. Improving reliability and security in production systems through CI/CD.
8. Mastering continuous delivery in a multi-cloud environment.
9. Q&A session

Avatar for MONIKA RAJPUT

MONIKA RAJPUT

January 27, 2024

Transcript

  1. Monika Rajput Senior Data Engineer @Ahead About Currently Senior Data

    Engineer at Ahead Worked with 4 startups India, USA and SG Mentored 40+ Students. Co-founder of MobileWeb.dev Back to Agenda Page Monika Rajput Senior Data Engineer @Ahead Who am i ? Senior Data Engineer at Ahead Worked with 4 startups India, USA and SG Mentored 60+ Students. Organizer @cncfgurgaon Back to Agenda Page
  2. Overview of jenkins My story with CI/CD pipeline and Jenkins/Github

    Action CI/CD Pipeline build by me QA & Let's Play a Guess Game Agenda The flow of CI/CD Pipeline The problem i faced while building an pipeline Countinous deployement best practices. CI/CD?
  3. This guy? Jenkins Ecosystem for 1000+ plugins Automation Server Continuous

    Integration (CI) Continuous Delivery/Continuous Deployment (CD) Triggering Build Attach any Linux/windows/mac host for running your builds
  4. Jenkinsfile to build and publish Docker images to Artifact Registry

    using Jenkins Pipeline for a GitHub repository
  5. Jenkinsfile to build and publish Docker images to AWS ECR

    and deploy to ECS using Jenkins Pipeline for a GitHub repository:
  6. Connecting the CI/CD pipeline with external services, such as databases,

    third-party APIs, or cloud services, can be complex and may require thorough configuration. Integration with External Services
  7. Managing dependencies and ensuring that the correct versions of libraries

    and tools are used across the pipeline stages can be tricky. Versioning and Dependency Management
  8. Ensuring consistency between development, testing, and production environments can be

    challenging. Differences in environments may lead to unexpected issues. Environment Consistency
  9. Continuous deployment best practices. Versioned source 1. 2. Automated build

    3. Automated deployment 4. Deploy to > 1 instance 6. Unit tests 7. Integration tests 8. Continuous delivery 5. Operations dashboard