Giter Site home page Giter Site logo

muhammadqazi / aws-deploy Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 798 KB

A demonstration of how to use AWS CDK Pipelines and Elastic Beanstalk to deploy a web application and speed up the development & deployment process.

Home Page: https://medium.com/@muhammedqazi/deploy-your-web-application-with-aws-elastic-beanstalk-aws-cdk-pipelines-and-cloudfront-c9a42bc98c10

JavaScript 9.33% TypeScript 88.52% HTML 2.15%
aws cloudfront deployment ec2 elasticbeanstalk s3

aws-deploy's Introduction

Deploy Your Web Application to staging and production with Elastic Beanstalk, AWS CDK , CloudFront, and Circleci pipelines

https://medium.com/@muhammedqazi/deploy-your-web-application-with-aws-elastic-beanstalk-aws-cdk-pipelines-and-cloudfront-c9a42bc98c10

Figure-1 -Unified-API-architecture-1024x582

A demonstration of how to use AWS CDK Pipelines and Elastic Beanstalk to deploy a web application and speed up the development & deployment process.

In the second part of the guide, I will show you how to deploy the React/Next.Js app as well to s3 and Cloudfront.

In the end, we will build Circleci ci/cd pipelines to deploy our application to staging or production automatically & will set up Papertrail monitory logs for our elastic Beanstalk application.

AWS Elastic Beanstalk provides a solution for this. It’s a user-friendly service designed for deploying and scaling web applications and services. Supporting various programming languages and server configurations (Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker with servers like Apache, Nginx, Passenger, and IIS), Elastic Beanstalk simplifies deployment by accepting a single ZIP or WAR file. It takes care of tasks like capacity provisioning, load balancing, auto-scaling, and application health monitoring, while still granting us control over the underlying AWS resources.

In this guide, we will learn how to

Deploy your web application by creating an Elastic Beanstalk environment and configuring its settings. Set up an RDS instance to host your application’s relational database with the desired engine and security settings. Manage your domain’s DNS records and hosted zones on Route 53 for efficient domain resolution. Accelerate content delivery and reduce latency by creating a CloudFront distribution, configuring origins, and associating it with your Elastic Beanstalk environment. Isolate and control your network environment by setting up a Virtual Private Cloud with proper subnets, route tables, and internet gateways. Define security groups for services like Elastic Beanstalk and RDS to control inbound and outbound traffic securely. Secure your domain with SSL/TLS certificates from AWS Certificate Manager, associating them with your CloudFront distribution and Elastic Beanstalk environment. Safely store and manage sensitive information, such as database credentials, using AWS Secrets Manager and integrate it with your Elastic Beanstalk environment. Create and configure S3 buckets for storing static assets, backups, and other necessary files with proper access controls. Automate your build and deployment workflows by configuring Circle CI with a .circleci/config.yml file and integrating it with your version control system. Point your domain to AWS by updating DNS records on Namecheap and associating the domain with your AWS resources.

aws-deploy's People

Contributors

muhammadqazi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.