Master AWS Elastic Beanstalk in Just 15 Minutes: A Complete Expert Guide!

Sdílet
Vložit
  • čas přidán 14. 06. 2023
  • Welcome to our channel! In this power-packed tutorial, you'll learn how to become an AWS Elastic Beanstalk expert in just 15 minutes! AWS Elastic Beanstalk is a powerful platform-as-a-service (PaaS) offering by Amazon Web Services, designed to simplify the deployment and management of web applications.
    In this comprehensive guide, we'll walk you through everything you need to know to harness the full potential of AWS Elastic Beanstalk. From setting up your environment to deploying your first application, we'll cover it all in a concise and easy-to-follow manner.
    Whether you're a seasoned developer looking to level up your skills or a newcomer to AWS seeking to streamline your app deployment process, this tutorial is tailored for you. By the end of this video, you'll have a solid foundation in Elastic Beanstalk's core concepts, understand how to leverage its auto-scaling and load balancing capabilities, and gain insights into best practices for managing your applications effectively.
    Stay ahead of the curve in today's fast-paced tech world by mastering AWS Elastic Beanstalk. Join us now and unlock the power of scalable and reliable web application deployment!
    Key topics covered in this tutorial:
    Introduction to AWS Elastic Beanstalk
    Setting up your AWS environment
    Creating and configuring an Elastic Beanstalk application
    Deploying your application
    Managing and monitoring your application
    Scaling and load balancing strategies
    Best practices for optimizing performance and cost
    Don't miss out on this opportunity to become an AWS Elastic Beanstalk expert in just 15 minutes! Hit that play button now and transform your app deployment workflow with this must-watch tutorial!
    #aws #ElasticBeanstalk #cloud #tutorial #technology #how #webdevelopment
  • Věda a technologie

Komentáře • 92

  • @TheQueen.5673
    @TheQueen.5673 Před měsícem +2

    sir your teaching skill is so good

    • @thecloudinvestor777
      @thecloudinvestor777  Před měsícem

      Thank you so much for your kind words! I'm glad to hear that you're enjoying my teaching. Your feedback means a lot to me!

  • @fridgethrower5930
    @fridgethrower5930 Před rokem +1

    hey man thanks alot for this, and also the follow up video. its helped a bunch 😊

  • @diegoporras7769
    @diegoporras7769 Před 7 měsíci +1

    "I have experience with security, I'm a CISSP" you had me in the first part

    • @thecloudinvestor777
      @thecloudinvestor777  Před 7 měsíci

      Haha, I get it! The "had me in the first part" line always gets me too. CISSP is serious business, though. What's your take on the certification? Any tips for someone considering diving into the security field?

  • @someshsahu4638
    @someshsahu4638 Před 10 měsíci +2

    Nice video thank you 🙏🏼

  • @DhanunjayaReddyD
    @DhanunjayaReddyD Před 6 měsíci +1

    i have application with vuejs and for backend we use aws lambda and graphql apis and dynamodb database so i just want to deploy only vuejs code dist folder no need backend i tried with nodejs platform but not done pls give me a solution how to deploy and make acessible only vuejs code

    • @thecloudinvestor777
      @thecloudinvestor777  Před 6 měsíci +1

      Certainly! You can deploy your Vue.js frontend by uploading the contents of the dist folder (which contains your built Vue.js application) to an AWS S3 bucket. Once uploaded, configure the bucket for static website hosting, allowing public access to these files. This setup enables you to share and access your Vue.js application without deploying the backend, utilizing S3's simplicity and web hosting capabilities.

    • @dhanunjayreddy1183
      @dhanunjayreddy1183 Před 6 měsíci

      @@thecloudinvestor777 but that is static web hosting for that no need of elastic beanstalk. I am trying to deploy in elastic beanstalk is that possible?

  • @azehblaise6413
    @azehblaise6413 Před 7 měsíci +1

    This was very insightful bro.

    • @thecloudinvestor777
      @thecloudinvestor777  Před 7 měsíci

      Glad you found it insightful! If you have any more questions, feel free to ask anytime.

  • @narendranavlani8292
    @narendranavlani8292 Před 11 měsíci

    what wud you suggest to get help from UDEMY or PluralSight for SAA-C03 exam. (have exp in SRE on on-prem servers), but trying to enter in Cloud side. If you can guide please?

    • @thecloudinvestor777
      @thecloudinvestor777  Před 11 měsíci

      From my personal experience I found UDEMY courses are more resourceful compared to PluralSight. Good luck with your preparation!

  • @user-px9bz9oc8o
    @user-px9bz9oc8o Před 11 měsíci +1

    Hey, Thanks for sharing this video.
    I'd like to know to set up environment variables to pass from environment properties when I am using Docker platform?

    • @thecloudinvestor777
      @thecloudinvestor777  Před 11 měsíci

      Please refer to this document: docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker.container.console.html

  • @gideondavid9074
    @gideondavid9074 Před 2 měsíci +1

    Thanks very much for the video. I have been trying to create this but I keep getting this error message: Stack named 'awseb-e-2kyqtmtma7-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBInstanceLaunchWaitCondition]. sometimes, my environment switches from ok to severe. Please, what could be the challlenge?

    • @thecloudinvestor777
      @thecloudinvestor777  Před 2 měsíci

      The error suggests a problem creating a crucial resource for stack creation. Check your configuration, ensure compatibility with Elastic Beanstalk, and review IAM permissions. Monitor your environment closely for recurring issues, and consider reaching out to AWS support for assistance.

  • @ankursaxena4791
    @ankursaxena4791 Před 10 měsíci +1

    Hi, Thanks its was very informative, i am facing some issue via setting up beanstalk environment - "Environment must have instance profile associated with it".can u help me out in this error?

    • @thecloudinvestor777
      @thecloudinvestor777  Před 10 měsíci

      I have resolved the error in this video: czcams.com/video/cfO5mfI_EdM/video.html

  • @jimaho7151
    @jimaho7151 Před 8 měsíci +3

    I’m struggling to find a good reason why to name something ”Master …” when the only thing really covered is a basic setup by clicking through the portal.
    Another main thing I lacked was _something_ deployed to Beanstalk. Not sure if I really learned anything by watching this.

    • @thecloudinvestor777
      @thecloudinvestor777  Před 8 měsíci

      Thank you for your feedback. The title 'Master' was meant to provide a foundational understanding for beginners. Mastering the basics is essential before delving into advanced topics. However, I understand your desire for more advanced content, and I'll consider this in my future videos. Your input is valuable in shaping the content I create.

    • @jimaho7151
      @jimaho7151 Před 8 měsíci +1

      You don't "Master" basic content.
      It's not like developers have different knowledge levels like "Master 1 foundational", "Master 2 basics", "Master 3 senior competence" and "Master 4 expert".
      You spend a couple of years in a topic, and _then_ people might refer to you as "Master" (or rather expert in our fields, but you get the point).
      I have no doubt in your competence at all, I just found the naming of the video extremely confusing seeing as you did not even go through a complete example of how to go from code to deployed solution.

    • @jimaho7151
      @jimaho7151 Před 8 měsíci

      "The title 'Master' was meant to provide a foundational understanding for beginners"@@thecloudinvestor777
      Just name it "Foundationals" instead. I think this will help people better to navigate between your content

    • @thecloudinvestor777
      @thecloudinvestor777  Před 7 měsíci

      @@jimaho7151 You're right, and I appreciate your perspective. The title might have set higher expectations than what was covered. I'll definitely take that into account for future videos to ensure a clearer alignment between the title and the content. If there are particular areas you'd like more detailed coverage on, please feel free to share-I'm here to provide valuable insights and help out!

  • @Toli_Man
    @Toli_Man Před rokem +4

    Thank you so much for the explanation. I was trying to Google it, but there are only a few videos about the upgraded version of AWS Elastic Beanstalk. I came across your video and followed all the steps you demonstrated. However, I'm still encountering issues and it's not working as expected. the results are Failed to launch environment and Environment must have instance profile associated with it.

    • @thecloudinvestor777
      @thecloudinvestor777  Před rokem +1

      Thank you for your comment. Because of some recent changes now we need to create instance profile and attach it with the environment. The detailed procedure is mentioned in this link: docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-instanceprofile.html . It'll help you to sort out the issue 🙂

    • @sunilkumarmandal9117
      @sunilkumarmandal9117 Před rokem +1

      Same problem 'Failed to lunch environment ' and Gives error

    • @Jackk1911
      @Jackk1911 Před rokem +2

      I also had the same two issues.

    • @thecloudinvestor777
      @thecloudinvestor777  Před rokem

      @@sunilkumarmandal9117 we need to create instance profile and attach it with the environment. The detailed procedure is mentioned in this link: docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-instanceprofile.html . It'll help you to sort out the issue 🙂

    • @thecloudinvestor777
      @thecloudinvestor777  Před rokem

      I have resolved the error in this video: czcams.com/video/cfO5mfI_EdM/video.html

  • @kabilan-mj8di
    @kabilan-mj8di Před 3 měsíci

    If I need to connect docker ec2 instance in elastic beanstalk, what are all the permission i need to give for ec2 instance iam role

    • @thecloudinvestor777
      @thecloudinvestor777  Před 2 měsíci

      For connecting a Docker EC2 instance in Elastic Beanstalk, ensure the associated IAM role has permissions for EC2, Elastic Beanstalk, Docker, networking, logging, and any other required resources. Keep it minimal for security.

  • @caglargulucan
    @caglargulucan Před 8 měsíci

    I am using (t2.micro) elasticbeanstalk, max 4 load balancer and t3.micro (rds), so my bills are high, so I need to find a solution. If I get RDS and EC2 reserved, will my existing website automatically start using them? Do you have any suggestions?

    • @thecloudinvestor777
      @thecloudinvestor777  Před 8 měsíci +1

      If you're considering reducing the cost of your AWS bills, using Reserved Instances (RIs) is a smart move. For EC2 instances, RIs will automatically apply if they match the instance type, region, and availability zone of your existing Elastic Beanstalk instances. However, for RDS, you'll need to manually associate the purchased RIs with your RDS instances. To get the most out of RIs, analyze your usage patterns, consider AWS Cost Explorer, and regularly adjust RIs to align with your current workload. RIs can offer significant cost savings, but planning and management are key.

    • @caglargulucan
      @caglargulucan Před 8 měsíci

      ​@@thecloudinvestor777 Thank you for the valuable information. 😇

  • @mz7640
    @mz7640 Před 2 měsíci +1

    Deploy sample app and become expect ? Left everything to default :)

    • @thecloudinvestor777
      @thecloudinvestor777  Před 2 měsíci

      Thanks for watching! While deploying a sample app is just scratching the surface, I appreciate your feedback. If you have any constructive criticism or suggestions for improvement, feel free to share. Otherwise, happy to keep delving deeper into Elastic Beanstalk and sharing what I learn!

  • @user-he8wl2hv1p
    @user-he8wl2hv1p Před 6 měsíci

    Hey, can we do all these in free tier itself? and i will be creating an ec2 instance, is it possible?

    • @thecloudinvestor777
      @thecloudinvestor777  Před 6 měsíci

      Yes, you can certainly work within the AWS Free Tier to set up your application on an EC2 instance. Utilizing the free tier, you can deploy your code on the EC2 instance, but keep in mind that there might be some limitations within the free tier, especially in terms of instance specifications and usage limits. If you need help with the setup or have specific questions, feel free to ask!

  • @aristotleoracles1457
    @aristotleoracles1457 Před 2 měsíci

    when you make your videos if you can zoom in because the text is very tiny even with glasses i can't read it well. You also have a ton of whitespace so nothing preventing you from zooming in.

    • @thecloudinvestor777
      @thecloudinvestor777  Před 2 měsíci

      Thanks for the feedback! I'll definitely keep that in mind for future videos. Making sure the text is easily readable is important, so I'll work on zooming in more to improve visibility, especially for those who may have difficulty reading smaller text. Your input helps me make better content for everyone, so thank you for sharing your thoughts!

  • @festuskwafo
    @festuskwafo Před rokem +1

    This is not going to work. You didn't attach instance policy to the ec2 instance.

    • @thecloudinvestor777
      @thecloudinvestor777  Před rokem

      I have resolved the error in this video czcams.com/video/cfO5mfI_EdM/video.html

  • @ast453000
    @ast453000 Před rokem +2

    No matter what I do, I cannot get this to work. All I want to do is host a simple backend laravel api on AWS with elastic beanstalk and I can't do it. I've been at it for days now. Can you help me? I'm willing to pay for help at this point.

    • @thecloudinvestor777
      @thecloudinvestor777  Před rokem

      I will upload a video in details tomorrow describing all the settings to make it work. Please stay connected.

    • @ast453000
      @ast453000 Před rokem +1

      @@thecloudinvestor777 For me I think the problem is in Step 2. Configure Service Access. "Create and use new Service Role" doesn't create the right service role, and I'm not sure what "EC2" instance to use, or if I even have one. If you could focus on that part, that would be great! Thanks!

    • @thecloudinvestor777
      @thecloudinvestor777  Před rokem

      @@ast453000 I have resolved the error in this video czcams.com/video/cfO5mfI_EdM/video.html

  • @vasanthravi7688
    @vasanthravi7688 Před 10 měsíci +1

    Facing 502 gate way error in aws elastic beanstalk apache phpfpm, i don't know how to resolve it pleae guide me

    • @thecloudinvestor777
      @thecloudinvestor777  Před 10 měsíci

      The HTTP 502 error often occurs when the web server, gateway, or proxy server gets an invalid response from a backend server. The error can be thrown by any one of the components of the AWS Elastic Beanstalk.
      Please check the backend and ELB response code for the request to find the source of the error. The access log entry will have two fields, namely, elb_status_code and backend_status_code.

    • @vasanthravi7688
      @vasanthravi7688 Před 10 měsíci +1

      Thanks bro i will check😇

  • @abhishektripathi4153
    @abhishektripathi4153 Před 11 měsíci +1

    Hello,
    I proper follow your steps and try to host the site but I got 2 error to launching the site
    1 :- failed to launch environment
    2:- the instance profile AWS-elasticbeanstalk-ec2-role associated with the environment does not exist
    Can you please guide me what steps should I follow now to resolve this errors

  • @kemalcanerarzuman3671
    @kemalcanerarzuman3671 Před 7 měsíci +1

    Thanks for the video. I think the video is not enough for mastering Elastic Beanstalk, it looks just introduction.

    • @thecloudinvestor777
      @thecloudinvestor777  Před 7 měsíci

      Hey there! Thanks for watching and sharing your thoughts. I totally get where you're coming from. Mastering Elastic Beanstalk is indeed a deep dive, and in the video, I aimed to give a solid introduction. I'm planning to create more content diving into advanced topics soon. If there's anything specific you'd like to learn about, feel free to let me know!

  • @nuwanchamikara8368
    @nuwanchamikara8368 Před 9 měsíci +2

    I am using AWS Elastic Beanstalk and I need to deploy my Appliactio using Load balanced (Not in a single instance).
    But I got these two errors.
    "Stack named 'awseb-e-seqmhv7s3e-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBInstanceLaunchWaitCondition]."
    After this error events show this error.
    "LaunchWaitCondition failed. The expected number of EC2 instances were not initialized within the given time. Rebuild the environment. If this persists, contact support."
    Can you help me to fix this error, please?

    • @thecloudinvestor777
      @thecloudinvestor777  Před 9 měsíci +2

      You probably placed your instances in a private subnet, thus the EB can't initialize them. You have to setup a NAT gateway in public subnets, with correctly configured route tables. This way the instances will be able to initialize.

    • @nuwanchamikara8368
      @nuwanchamikara8368 Před 9 měsíci +1

      @@thecloudinvestor777Sir, thank you for your support and I fix this issue. I didn't expect your clarifications like this. Furthermore, I need to know about a minor issue. (just want to know your idea).
      The problem like this, I deployed OpenCart in AWS Beanstalk and added a separate database as you mentioned in your video. My problem is when changing the instance I need to set up an O again and again could you suggest a solution for this ???

    • @thecloudinvestor777
      @thecloudinvestor777  Před 8 měsíci

      @@nuwanchamikara8368 Absolutely, maintaining the database connection when changing instances in AWS Elastic Beanstalk can be a bit of a hassle. You might want to explore using Amazon RDS (Relational Database Service) in conjunction with Elastic Beanstalk. By decoupling the database from the instance, you can ensure the database persists independently of the instances. This way, when you change instances, the database remains intact and your application can seamlessly connect to it.
      Another approach could involve scripting or automation to reconfigure the database settings when you switch instances. You might use AWS CLI or other automation tools to help automate the setup process, reducing the manual effort required each time you change instances.
      Hope this helps! Let me know if you need more guidance on any of these approaches.

    • @gideondavid9074
      @gideondavid9074 Před 2 měsíci

      @@thecloudinvestor777 I did all this, it showed me OK on the health status, butt it wasn't loading the default page when I clicked the link. Please, what could be the issue?

    • @gideondavid9074
      @gideondavid9074 Před 2 měsíci

      @@thecloudinvestor777 It later changed from OK to degraded.what am I not getting correctly?

  • @priyankakannur1259
    @priyankakannur1259 Před 11 měsíci +1

    Good class

  • @sathya2650
    @sathya2650 Před 9 měsíci +1

    Can you say how to deploye loopback 4 backend code on elastic beanstalk

    • @thecloudinvestor777
      @thecloudinvestor777  Před 8 měsíci

      Sure, I'd be happy to help. Deploying a LoopBack 4 backend on AWS Elastic Beanstalk involves a few steps.
      First, make sure your LoopBack 4 project is ready for deployment, including any necessary dependencies.
      Next, you'll need to create an Elastic Beanstalk environment for your application, either via the AWS Management Console or the AWS Command Line Interface (CLI).
      Configure the environment with the appropriate runtime and environment variables. Ensure that you specify your application's entry point.
      Package your LoopBack 4 project into a deployable ZIP or WAR file, and then upload it to your Elastic Beanstalk environment.
      Lastly, monitor the deployment process and make any necessary adjustments.
      Keep in mind that this is a simplified overview, and the exact steps may vary depending on your project's specifics. AWS documentation and LoopBack 4 documentation will be valuable resources for you during this process. If you need more detailed guidance on any of these steps, feel free to ask!

  • @bobbyjose2265
    @bobbyjose2265 Před 10 měsíci +1

    Would it be possible for you to do a video on deploying an application called node red using EBS.

    • @thecloudinvestor777
      @thecloudinvestor777  Před 10 měsíci +1

      Sure I will cover it in my upcoming videos. Please stay connected

  • @padma7076
    @padma7076 Před 11 měsíci +1

    I'm new to cloud concept , how to choose between lambda and beanstalk ? like what are the differences?

    • @thecloudinvestor777
      @thecloudinvestor777  Před 11 měsíci +2

      Elastic beanstalk and lambda are very different though some of the features may look similar. At high level, elastic beanstalk deploys a long running application whereas lambda deploys short running code function
      Lambda can at maximum run for 15 minutes, whereas EB can run continuously. Generally, we deploy websites/apps on EB whereas lambda are generally used for triggered functionality like processing image when image gets uploaded to S3.
      Lambda can only handle one request at a time whereas number of concurrent requests EB can handle depends on your underlying infrastructure. So, if you are having say 100 requests, 100 lambdas will be created whereas these 100 requests can be handled by one underlying EC2 instance in EB
      Lambda is serverless (underlying infra is entirely abstracted from developer). Whereas EB is automation over infra provisioning. You can still see your EC2 instances, load balancer, auto scaling group etc. in your AWS console. You can even ssh/rdp to your instance and change running services. AWS EB allows you also to have your custom AMIs.
      Lambda is having issue of cold starts as in lambda, infra needs to be provisioned on demand by AWS, whereas in EB, you generally have EC2 instances already provisioned to handle your requests.

    • @padma7076
      @padma7076 Před 11 měsíci

      @@thecloudinvestor777 Thank you !!😊

  • @adityahpatel
    @adityahpatel Před 9 měsíci +1

    how much time does it take? its been 20 mins my environmet is still not created

    • @thecloudinvestor777
      @thecloudinvestor777  Před 9 měsíci

      It usually takes 5-7 minutes. Please check the logs for more information.

  • @madeshwarans1197
    @madeshwarans1197 Před rokem +1

    how to deploy web app or any other app . this video is incomplete . show some example that will help

    • @thecloudinvestor777
      @thecloudinvestor777  Před rokem

      Please look into this video where I have deployed one sample php app: czcams.com/video/cfO5mfI_EdM/video.html

  • @matthewgreen3031
    @matthewgreen3031 Před 10 měsíci +1

    Hi, can you do a video explaining the configuartion setting sections 1-by-1. I didnt study IT so alot of this is new , i also do not want to study like a parrot

    • @thecloudinvestor777
      @thecloudinvestor777  Před 10 měsíci

      Sure in my upcoming videos, I will cover it in more details. Please stay connected..

  • @pratikpednekar5363
    @pratikpednekar5363 Před 8 měsíci +1

    they should come with something like vercel, so damn easy to deploy.

    • @thecloudinvestor777
      @thecloudinvestor777  Před 8 měsíci +1

      I understand your perspective. Services like Vercel are known for their simplicity and ease of deployment. While Elastic Beanstalk provides more control and flexibility, it may have a steeper learning curve. AWS has other services like AWS Amplify and AWS App Runner that offer more streamlined deployment experiences, similar to Vercel. Depending on your project's specific requirements, you might want to explore these options for a simpler deployment process.

    • @pratikpednekar5363
      @pratikpednekar5363 Před 8 měsíci

      thanks@@thecloudinvestor777 , I tried out apprunner and thats what I needed.

  • @jamesyang6603
    @jamesyang6603 Před 11 měsíci +1

    This video is not helpful, I just did it by his video, it'll definately failed for lunching enviroment,
    Because of it, He haven't made the second video

    • @thecloudinvestor777
      @thecloudinvestor777  Před 11 měsíci

      Thank you for your comment. Because of some recent changes now we need to create instance profile and attach it with the environment. The detailed procedure is mentioned in this link: docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-instanceprofile.html . It'll help you to sort out the issue 🙂

    • @jamesyang6603
      @jamesyang6603 Před 11 měsíci +1

      @@thecloudinvestor777
      Thank you, but your video is making too much confusing people.
      I think you should remove it and remake it

    • @thecloudinvestor777
      @thecloudinvestor777  Před 7 měsíci

      @@jamesyang6603 I have resolved the error in this video: czcams.com/video/cfO5mfI_EdM/video.html

  • @ellmango
    @ellmango Před 7 měsíci +1

    video starts at 1:30 but isnt helpful anyway

    • @thecloudinvestor777
      @thecloudinvestor777  Před 7 měsíci

      Appreciate your feedback! I'll aim for a more engaging start in upcoming videos to ensure they're valuable right from the beginning. If you have any specific suggestions or topics you'd like covered, I'm all ears. Your input helps me craft better content!

  • @TheQueen.5673
    @TheQueen.5673 Před měsícem +2

    i have good advice for your don't say A A AA AAA AAAA

    • @thecloudinvestor777
      @thecloudinvestor777  Před měsícem

      Oh, thanks for the advice! I had no idea my inner robot was slipping out. I'll be sure to keep the A A AA AAAA to a minimum. 😄

  • @mdmahtabalam298
    @mdmahtabalam298 Před 11 měsíci +1

    sir i have some query how to contact you . i am your old subscribers lots of things i learned from you

    • @thecloudinvestor777
      @thecloudinvestor777  Před 11 měsíci

      Thank you. Please comment here your queries, I am very active in this channel 🙂