Technology Hub
Technology Hub
  • 55
  • 529 341
AWS CodeDeploy | Pipeline | Setup | Deploy application on EC2 using GitHub as source
I am going to demonstrate how to automate application deployment into EC2 using CodeDeploy as soon as application source code is pushed on GitHub. In this video I am going to cover the following points -
How to setup AWS CodeDeploy
How to setup EC2 and install codeDeploy agent
How to integrate CodeDeploy with GitHub for the deployment
How to deploy application in EC2 using CodeDeploy
AWS Code Deploy:
AWS CodeDeploy is a fully managed deployment service that automates software deployments to a variety of compute services such as Amazon EC2, AWS Fargate, AWS Lambda, and your on-premises servers.
CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications.
Centralized control - AWS CodeDeploy allows you to easily launch and track the status of your application deployments through AWS management console
Minimize downtime - AWS CodeDeploy helps maximize your application availability during the software deployment process.
GitHub Sample Application source code -
github.com/prabhakar2020/aws_codedeploy_using_github
GitHub link for Steps and dependencies list -
github.com/prabhakar2020/aws_code_deploy
EC2 Tutorial: th-cam.com/video/cakXKlc_OTk/w-d-xo.html
AWS Complete tutorial - th-cam.com/video/cakXKlc_OTk/w-d-xo.html
มุมมอง: 90 640

วีดีโอ

AWS CodeDeploy | Pipeline | Setup | Deploy application on EC2 using S3 as source
มุมมอง 37K4 ปีที่แล้ว
I am going to demonstrate how to automate application deployment into EC2 using CodeDeploy as soon as application source code is copies on S3. In this video I am going to cover the following points - How to setup AWS CodeDeploy How to setup EC2 & S3 for the deployment How to deploy application in EC2 using CodeDeploy AWS Code Deploy: AWS CodeDeploy is a fully managed deployment service that aut...
AWS lambda layers | Add Python libraries in AWS Layers
มุมมอง 28K4 ปีที่แล้ว
I am going to demonstrate - How to use AWS Layers How to add custom library into AWS layers How reuse custom libraries on AWS Lambda functions Lambda function: th-cam.com/video/edqL5Rcf3ws/w-d-xo.html EC2 Tutorial: th-cam.com/video/cakXKlc_OTk/w-d-xo.html AWS Complete tutorial - th-cam.com/video/cakXKlc_OTk/w-d-xo.html
AWS Read CSV file data from S3 via Lambda function and insert into MySQL
มุมมอง 19K4 ปีที่แล้ว
I am going to demonstrate the following stuff - 1. How to read S3 csv files content on lambda function. 2. How to integrate S3 with lambda function and trigger lambda function for every S3 put events. 3. How to insert s3 file content on MySQL via Lambda function Lambda function source code to connect DynamoDB- Lambda function source code - github.com/prabhakar2020/insert_s3_csv_file_content_to_...
AWS Read CSV file data from S3 via Lambda function and put into DynamoDB
มุมมอง 18K4 ปีที่แล้ว
I am going to demonstrate the following stuff - 1. How to read S3 csv files content on lambda function. 2. How to integrate S3 with lambda function and trigger lambda function for every S3 put events. 3. How to put content on DynamoDB via Lambda function Lambda function source code to connect DynamoDB- Lambda function source code - github.com/prabhakar2020/s3_csv_insert_into_dynamodb DynamoDB F...
AWS SQS + Lambda | Setup | Integration | Trigger Lambda via SQS
มุมมอง 15K4 ปีที่แล้ว
I am going to demonstrate how we can integrate Lambda function with SQS and trigger lambda function using SQS. Amazon Simple Queue Service (Amazon SQS) is a distributed message queuing service. It supports programmatic sending of messages via web service applications as a way to communicate over the Internet. SQS is intended to provide a highly scalable hosted message queue that resolves issues...
AWS Send SMS to mobile using SNS (Simple Notification Service)
มุมมอง 1.4K4 ปีที่แล้ว
SNS = Simple Notification Service I am going to demonstrate how we can send SMS to any mobile number using Simple Notification Service. SNS is a notification service provided as part of Amazon Web Services. It provides a low-cost infrastructure for the mass delivery of messages, predominantly to mobile users. AWS Simple Notification Service tutorial - th-cam.com/video/jL4H2dPwx6o/w-d-xo.html SN...
AWS API Gateway | Setup GET & POST APIs to fetch EC2 instances and stop EC2 instances
มุมมอง 13K4 ปีที่แล้ว
I am going to demonstrate how we can integrate Lambda function with API gateway. GET API for fetching all running EC2 instances. POST API for stopping one or more (all) running EC2 instances Amazon API Gateway is an AWS service for creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket APIs at any scale. API developers can create APIs that access AWS or other web ...
AWS SNS + Lambda function integration | Setup + Demo
มุมมอง 22K4 ปีที่แล้ว
SNS = Simple Notification Service I am going to demonstrate how we can integrate Lambda function with Simple Notification Service. SNS is a notification service provided as part of Amazon Web Services. It provides a low-cost infrastructure for the mass delivery of messages, predominantly to mobile users. From the sender's viewpoint, SNS acts as a single message bus that can message to a variety...
AWS S3 Event Notifications | Setup to Notify SNS Topics through Email
มุมมอง 4.3K4 ปีที่แล้ว
SNS = Simple Notification Service SNS is a notification service provided as part of Amazon Web Services. It provides a low-cost infrastructure for the mass delivery of messages, predominantly to mobile users. From the sender's viewpoint, SNS acts as a single message bus that can message to a variety of devices and platforms. SNS can also deliver messages by SMS to 200 countries. It uses the pub...
AWS Route53 | create custom domains | Access EC2 web app using custom domain
มุมมอง 3.9K4 ปีที่แล้ว
Amazon Route 53 is a scalable and highly available Domain Name System service (DNS). You can use Amazon Route 53 to register new domains, transfer existing domains, route traffic for your domains to your AWS and external resources, and monitor the health of your resources. Agenda: Create a Free Domain Launch demo web application in EC2 Register custom domain into AWS Route53 Access web applicat...
AWS Lambda function | Copy files from one S3 bucket to another S3 bucket as soon as uploaded
มุมมอง 49K4 ปีที่แล้ว
Lambda Functions: AWS Lambda is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for you. You can use AWS Lambda to extend other AWS services with custom logic, or create your own back-end services that operate at AWS scale, performance, and security. AWS Lambda can automatically run code in response to multiple ev...
AWS Lambda function | Delete files from S3 as soon as uploaded
มุมมอง 7K4 ปีที่แล้ว
Lambda Functions: AWS Lambda is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for you. You can use AWS Lambda to extend other AWS services with custom logic, or create your own back-end services that operate at AWS scale, performance, and security. AWS Lambda can automatically run code in response to multiple ev...
AWS Athena + Glue + S3 | Setup | Operations
มุมมอง 13K4 ปีที่แล้ว
Athena: Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run. Athena works directly with data stored in S3. Athena uses Presto, a distributed SQL engine to run queries. It also uses Apache Hive to create, drop, and alter tables...
AWS DynamoDB | Setup | Insert data | Fetch data
มุมมอง 2.5K4 ปีที่แล้ว
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB, you can create database tables that can store and retrieve any amount of data and serve any level of request traffic. You can scale up or scale down your tables' throughput capacity without downtime or performance degradation. You can use the AWS Manageme...
AWS Virtual Private Cloud | Private + Public Subnet Setup & Configuration
มุมมอง 3324 ปีที่แล้ว
AWS Virtual Private Cloud | Private Public Subnet Setup & Configuration
AWS Elasticcache Memcached | Setup & Configuration
มุมมอง 8K4 ปีที่แล้ว
AWS Elasticcache Memcached | Setup & Configuration
AWS Elasticcache Redis | Setup & Configuration
มุมมอง 87K4 ปีที่แล้ว
AWS Elasticcache Redis | Setup & Configuration
AWS Classic load balancer | Setup | Configuration
มุมมอง 7K4 ปีที่แล้ว
AWS Classic load balancer | Setup | Configuration
AWS Rational Database service - Aurora | Setup & Configure Aurora DB & Clusters
มุมมอง 2234 ปีที่แล้ว
AWS Rational Database service - Aurora | Setup & Configure Aurora DB & Clusters
AWS Rational Database service - PostgreSQL | Setup & Configure PostgreSQL
มุมมอง 1564 ปีที่แล้ว
AWS Rational Database service - PostgreSQL | Setup & Configure PostgreSQL
AWS Rational Database service - MySQL | Setup & Configure MYSQL
มุมมอง 3434 ปีที่แล้ว
AWS Rational Database service - MySQL | Setup & Configure MYSQL
AWS Network load balancer | Setup | Configuration
มุมมอง 2K4 ปีที่แล้ว
AWS Network load balancer | Setup | Configuration
AWS Auto scaling | Setup + Configuration
มุมมอง 3404 ปีที่แล้ว
AWS Auto scaling | Setup Configuration
EC2 deploy DJango application | NGINX | Supervisor | Gunicorn
มุมมอง 11K4 ปีที่แล้ว
EC2 deploy DJango application | NGINX | Supervisor | Gunicorn
AWS Application Load Balancing | Setup | Configuration
มุมมอง 5354 ปีที่แล้ว
AWS Application Load Balancing | Setup | Configuration
AWS Elastic Load Balancing
มุมมอง 3544 ปีที่แล้ว
AWS Elastic Load Balancing
Python Jupyter notebooks tutorial for beginners
มุมมอง 844 ปีที่แล้ว
Python Jupyter notebooks tutorial for beginners
AWS Elastic Beanstalk deploy flask application
มุมมอง 2.1K4 ปีที่แล้ว
AWS Elastic Beanstalk deploy flask application
AWS S3 host static website
มุมมอง 6654 ปีที่แล้ว
AWS S3 host static website

ความคิดเห็น

  • @abdoldevtra
    @abdoldevtra 4 วันที่ผ่านมา

    how to detect multiple languages in one sentence can u make a video ?

  • @manukapoor7811
    @manukapoor7811 6 วันที่ผ่านมา

    Nice demo! Clear and concise 👍🏻

  • @tube112920
    @tube112920 2 หลายเดือนก่อน

    need to specify tls option. Try redis-cli -h < your end point url > --tls -p 6379 redis-cli -h < your end point url > --tls -p 6379 ping

  • @rajumurugesan6927
    @rajumurugesan6927 3 หลายเดือนก่อน

    Really thankful to you prabha

  • @renukasrivastava1167
    @renukasrivastava1167 8 หลายเดือนก่อน

    Thank you for such a simple and good explanation

  • @adolforangel1045
    @adolforangel1045 9 หลายเดือนก่อน

    If someone has trouble, what it worked for me was creating a file named python (it can be anywhere), then install the dependencies and save the python file as a zip. This file is the one I uploaded to AWS.

  • @noorullahsheikdawooth2596
    @noorullahsheikdawooth2596 10 หลายเดือนก่อน

    Thank you Prabhakar .. you did it 😊

  • @bharathreddy294
    @bharathreddy294 10 หลายเดือนก่อน

    You have hardcoded the column names, as there are only 3 values. What if there are 100's off columns, how will you dynamically upload in Item object. Can you please explain me that.

  • @mep1tz
    @mep1tz 10 หลายเดือนก่อน

    Thanks a lot!! For searching for this and found this

  • @bhargaviroyal5792
    @bhargaviroyal5792 11 หลายเดือนก่อน

    Excellent your video Sir. The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems. Sir i got issue. How to resolve .please tell the solution

  • @ragiakshay7097
    @ragiakshay7097 11 หลายเดือนก่อน

    Do I need to give any permissions?

  • @life_with_ayurveda
    @life_with_ayurveda ปีที่แล้ว

    very good lecture thank you

  • @TonySpark-er2hj
    @TonySpark-er2hj ปีที่แล้ว

    import boto3 import urllib.parse import json print("*" * 80) print("Initializing..") print("*" * 80) s3 = boto3.client('s3') def lambda_handler(event, context): # TODO implement source_bucket = event['Records'][0]['s3']['bucket']['name'] object_key = urllib.parse.unquote_plus(event['Records'][0]['s3']['object']['key']) target_bucket = 'techhub-output-data-andy2' copy_source = {'Bucket': source_bucket, 'Key': object_key} print("Source bucket : ", source_bucket) print("Target bucket : ", target_bucket) print("Log Stream name: ", context.log_stream_name) print("Log Group name: ", context.log_group_name) print("Request ID: ", context.aws_request_id) print("Mem. limits(MB): ", context.memory_limit_in_mb) try: print("Using waiter to wait for object to persist through S3 service") waiter = s3.get_waiter('object_exists') waiter.wait(Bucket=source_bucket, Key=object_key) response = s3.copy_object(Bucket=target_bucket, Key=object_key, CopySource=copy_source) return response['ContentType'] except Exception as err: print("Error - " + str(err)) return str(err) Above is a fix as at the moment using 3.7 it doesnt work without this. Please let me know it worked cheers

  • @AjishPrabhakar
    @AjishPrabhakar ปีที่แล้ว

    But this can get easily failed for uploading large files, say for eg file size over 500GB . The lambda runtime execution timeout will happen.

  • @chanelf.4934
    @chanelf.4934 ปีที่แล้ว

    really good video thanks

  • @AmanRajput-u2g
    @AmanRajput-u2g ปีที่แล้ว

    very helpful video lecture. It's the best lecture I found on youtube about lambda, very clear and very helpful. @technologyhub1503, can you please share your email address in TH-cam channel description? Also, can you please upload a video on AWS Glue end to end ETL pipeline regarding ingestion, transformation and loading into Redshift ?

  • @Fernando-ff6bu
    @Fernando-ff6bu ปีที่แล้ว

    Hi, thank you for your great tutorial. I have a question, which is why we skip build step in code pipeline? Thank you so much!

  • @raadkasem
    @raadkasem ปีที่แล้ว

    Excellent tutorial, thank you! Just a note: There were some inconsistencies with the microphone quality and the volume of your voice throughout the video. It might be something to look into for future videos.

  • @anuragdigal3205
    @anuragdigal3205 ปีที่แล้ว

    Great video. I have done but one this is different is that I have windows server in ec2. So is there any configuration I need to make in the ec2 window server. Currently I have did nothing and try to connect redis primary endpoint through the .net code I am timeout error. Can you please help me.

  • @gauravsinghjethuri5405
    @gauravsinghjethuri5405 ปีที่แล้ว

    Thank you so much.

  • @DevOpsKey1
    @DevOpsKey1 ปีที่แล้ว

    you first add the port 6379 in ec2 SG which is not required

  • @DevOpsKey1
    @DevOpsKey1 ปีที่แล้ว

    you are delivering the wrong concept of security Group in case of accessing the Redis from ec2 simple thing is allow 6379 in redis SG against ec2 SG

  • @Mobbin6500
    @Mobbin6500 ปีที่แล้ว

    thanks man the part to turn my ec2 instances into a https site helped alot, Im hosting an api so I kept getting Mixed Context error and this fixed !

  • @mohammadanas6755
    @mohammadanas6755 ปีที่แล้ว

    Sir I want to transfer a file from one aws s3 to different aws s3 using bash script .

  • @shivamgarg4958
    @shivamgarg4958 ปีที่แล้ว

    can you create a lambda function to compress images using python

  • @ochicoloto3524
    @ochicoloto3524 ปีที่แล้ว

    great job

  • @senlee325
    @senlee325 ปีที่แล้ว

    Helpful tutorial. Thanks

  • @권영경엘텍공과대학소
    @권영경엘텍공과대학소 ปีที่แล้ว

    thank you thank you,,,,,,,,,,,,,,

  • @swapnanildas
    @swapnanildas ปีที่แล้ว

    will this code work if we want to delete files after 30 days of upload?

  • @athenkosizono9208
    @athenkosizono9208 ปีที่แล้ว

    This was super helpful. Thank you

  • @rizwanahmad5711
    @rizwanahmad5711 ปีที่แล้ว

    Error code UnknownError Script name Message CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server. how to fix error.

  • @avid_traveler
    @avid_traveler ปีที่แล้ว

    How do you specify the folder you deploy to? If I deploy a Laravel application how do I put it in to the correct folder?

  • @saurabhranjan4951
    @saurabhranjan4951 ปีที่แล้ว

    How do you navigate to this console?

  • @avid_traveler
    @avid_traveler ปีที่แล้ว

    Good job. Thanks.

  • @ranvirjha6476
    @ranvirjha6476 ปีที่แล้ว

    could you show us steps to create vpc for this redis cache, ive configured everthing according to you but unfor. couldnt connect through cli

    • @sh.mujeeb3638
      @sh.mujeeb3638 ปีที่แล้ว

      bro have you found any solutions?

  • @MayurKatre-k1j
    @MayurKatre-k1j ปีที่แล้ว

    In my case installing psycopg2 library and uploaded zip file into layers but it stills showing error..... What to do now

  • @devmrnecro4215
    @devmrnecro4215 ปีที่แล้ว

    whenever i make a change to my files(html or any django file) it doesn't reflect the changes on the server, the files get updated but doesn't change anything unless i need to stop all the process of supervisor then i need to restart it back!

  • @islamicinterestofficial
    @islamicinterestofficial ปีที่แล้ว

    If you want to keep the server up and running even after your terminal closed then use below command: "gunicorn3 app:app --daemon" instead of "gunicorn3 app:app"

  • @islamicinterestofficial
    @islamicinterestofficial ปีที่แล้ว

    Love it and subscribed. It would be very great if you will make a complete tutorial from deploying application to flask and then connecting the domain to it

  • @saurabhbhoir4563
    @saurabhbhoir4563 ปีที่แล้ว

    very helpful

  • @PraveenKumar-ic5zo
    @PraveenKumar-ic5zo ปีที่แล้ว

    Nice Video.

  • @lakshmiig4061
    @lakshmiig4061 ปีที่แล้ว

    Thanks for the video Sir. Attaching the EC2CodeDeploy role to the ec2 instance is not mentioned in the video. Also in the user data, the wget for installing code deploy has to be modified as per the region.

  • @divyanshjha7672
    @divyanshjha7672 ปีที่แล้ว

    hua hi nahi :(

  • @asifhossain1874
    @asifhossain1874 ปีที่แล้ว

    I have use the exact code but it is not deleting any files from the S3 bucket

  • @deepaksingh-gj2oh
    @deepaksingh-gj2oh ปีที่แล้ว

    when you jumped to terminal inside aws directory you lost me.

  • @Erwingupta1987
    @Erwingupta1987 ปีที่แล้ว

    Hi , that's a great info and thanks for the tutorial...i have question and if this can be answered, can solve my problem..so i have a custom app and we have integrated with AWS event bridge and wants events to be targeted out side of AWS ..one we are using is Google cloud storage..so will the similar python script which can solve my problem

  • @shreyashtech8556
    @shreyashtech8556 ปีที่แล้ว

    dude i forgot to gice port in custom tcp, i was stuck for hours, :), thanx man, great stuff

  • @mr.shane.2k
    @mr.shane.2k ปีที่แล้ว

    Thank you 😉

  • @ibra653
    @ibra653 ปีที่แล้ว

    Thanks a lot! I was searching for this and all i found was to change the python environment to my directory then zip the file and upload it but lambda was refusing it.

  • @satyamKumar-mr5gc
    @satyamKumar-mr5gc ปีที่แล้ว

    How can run this program for long time