Git Product home page Git Product logo

hartl3y94 / my-first-cdk-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from miztiik/my-first-cdk-project

0.0 0.0 0.0 1.71 MB

A hands on repo with multiple demonstrations on CDK: Used by Udemy Course๐ŸŽ“

Home Page: https://www.udemy.com/course/aws-cloud-development-kit-from-beginner-to-professional/?referralCode=E15D7FB64E417C547579

Shell 0.50% JavaScript 6.96% Python 60.93% CSS 29.74% HTML 1.88%

my-first-cdk-project's Introduction

Welcome to my first CDK project[s]

Here you will learn to use CDK to deploy different AWS resources. All the sample code are tagged with intuitive tag-names.

  1. ๐Ÿงฐ Prerequisites

    • ๐Ÿ›  AWS CLI Installed & Configured - Get help here
    • ๐Ÿ›  AWS CDK Installed & Configured - Get help here
    • ๐Ÿ›  Python Packages, Change the below commands to suit your operating system, the following are written for _Amazon Linux 2
      • Python3 - yum install -y python3
      • Python Pip - yum install -y python-pip
      • Virtualenv - pip3 install virtualenv
  2. โš™๏ธ Setting up the environment

    For example, If you are looking to learn how to deploy an EC2 instance with the latest AMI in any region, This branch is tagged as ec2_with_latest_ami_in_any_region.

    git clone --branch ec2_with_latest_ami_in_any_region https://github.com/miztiik/my-first-cdk-project.git
    cd my-first-cdk-project
  3. ๐Ÿš€ Deployment using AWS CDK

    # If you DONT have cdk installed
    npm install -g aws-cdk
    # If this is first time you are using cdk then, run cdk bootstrap
    # cdk bootstrap
    
    
    # Make sure you in root directory
    python3 -m venv .env
    source .env/bin/activate
    # Install any dependencies
    pip install -r requirements.txt
    
    # Synthesize the template and deploy it
    cdk synth
    cdk deploy
  4. ๐Ÿงน CleanUp

    If you want to destroy all the resources created by the stack, Execute the below command to delete the stack, or you can delete the stack from console as well

    cdk destroy *

    This is not an exhaustive list, please carry out other necessary steps as maybe applicable to your needs.

๐Ÿ’ก Help/Suggestions or ๐Ÿ› Bugs

Thank you for your interest in contributing to our project. Whether it is a bug report, new feature, correction, or additional documentation or solutions, we greatly value feedback and contributions from our community. Start here

๐Ÿ‘‹ Buy me a coffee

ko-fi Buy me a coffee โ˜•.

๐Ÿท๏ธ Metadata

Level: 200

miztiik-success-green

my-first-cdk-project's People

Contributors

miztiik avatar sanketh2222 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.