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

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 99

  • @ranjanadissanayaka5390
    @ranjanadissanayaka5390 27 дней назад +1

    This was very easy to understand. Thank dude

    • @thecloudinvestor777
      @thecloudinvestor777  26 дней назад

      Thanks so much! I'm really glad to hear it was easy to understand. Let me know if you have any more questions about Elastic Beanstalk or other AWS services-happy to help!

  •  Месяц назад +1

    Hey, first of all: thanks for the video! It's very clear and purposeful. One thing came to my mind and I could not answer this question: if I'm planning to use a Laravel application (with API and some Jobs) it's better to use a Web Server or a Worker environment? The primary app's purpose is to serve API, with extra jobs that run on some hits.
    Thank you again for the video!

    • @noormuhammad888
      @noormuhammad888 Месяц назад +1

      Go with Web server

    • @thecloudinvestor777
      @thecloudinvestor777  Месяц назад

      Hey! Thanks so much for the feedback - I'm glad you found the video helpful! For your Laravel application, if the primary purpose is to serve an API, a Web Server environment would generally be the better fit, as it’s optimized for handling HTTP requests. You could then configure background jobs separately, either by using a dedicated Worker environment or by setting up queue workers within the same environment depending on your load and resource needs. This way, you get efficient request handling for your API while keeping jobs running smoothly. Let me know if that helps or if you have more questions - happy to help!

  • @TheQueen.5673
    @TheQueen.5673 6 месяцев назад +2

    sir your teaching skill is so good

    • @thecloudinvestor777
      @thecloudinvestor777  6 месяцев назад

      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!

  • @jimaho7151
    @jimaho7151 Год назад +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  Год назад

      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 Год назад +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 Год назад

      "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  Год назад

      @@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 Год назад +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  Год назад +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 Год назад +1

      Same problem 'Failed to lunch environment ' and Gives error

    • @Jackk1911
      @Jackk1911 Год назад +2

      I also had the same two issues.

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

      @@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  Год назад

      I have resolved the error in this video: ruclips.net/video/cfO5mfI_EdM/видео.html

  • @gideondavid9074
    @gideondavid9074 7 месяцев назад +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  7 месяцев назад

      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.

  • @yatishv8063
    @yatishv8063 4 месяца назад +1

    Sir Good and precise video, thank you

    • @thecloudinvestor777
      @thecloudinvestor777  3 месяца назад

      Thank you so much for your kind words! I'm glad you found the video helpful and precise. If you have any questions or need further clarification, feel free to ask!

  • @azehblaise6413
    @azehblaise6413 11 месяцев назад +1

    This was very insightful bro.

    • @thecloudinvestor777
      @thecloudinvestor777  11 месяцев назад

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

  • @ankursaxena4791
    @ankursaxena4791 Год назад +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  Год назад

      I have resolved the error in this video: ruclips.net/video/cfO5mfI_EdM/видео.html

  • @sathya2650
    @sathya2650 Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

      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!

  • @vasanthravi7688
    @vasanthravi7688 Год назад +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  Год назад

      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 Год назад +1

      Thanks bro i will check😇

  • @nuwanchamikara8368
    @nuwanchamikara8368 Год назад +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  Год назад +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 Год назад +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  Год назад

      @@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 7 месяцев назад

      @@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 7 месяцев назад

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

  • @DhanunjayaReddyD
    @DhanunjayaReddyD 11 месяцев назад +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  11 месяцев назад +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 11 месяцев назад

      @@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?

  • @padma7076
    @padma7076 Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад +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 Год назад

      @@thecloudinvestor777 Thank you !!😊

  • @mz7640
    @mz7640 7 месяцев назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  7 месяцев назад

      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!

  • @abhishektripathi4153
    @abhishektripathi4153 Год назад +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

    • @muhammadan-nasdzikrullah327
      @muhammadan-nasdzikrullah327 Год назад +1

      im having the same issues

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

      @@muhammadan-nasdzikrullah327 I have resolved the error in this video: ruclips.net/video/cfO5mfI_EdM/видео.html

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

      I have resolved the error in this video: ruclips.net/video/cfO5mfI_EdM/видео.html

  • @ast453000
    @ast453000 Год назад +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  Год назад

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

    • @ast453000
      @ast453000 Год назад +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  Год назад

      @@ast453000 I have resolved the error in this video ruclips.net/video/cfO5mfI_EdM/видео.html

  • @bobbyjose2265
    @bobbyjose2265 Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад +1

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

  • @kabilan-mj8di
    @kabilan-mj8di 8 месяцев назад

    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  7 месяцев назад

      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.

  • @TakaoKato-c6z
    @TakaoKato-c6z Год назад +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  Год назад

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

  • @adityahpatel
    @adityahpatel Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

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

  • @someshsahu4638
    @someshsahu4638 Год назад +2

    Nice video thank you 🙏🏼

  • @kemalcanerarzuman3671
    @kemalcanerarzuman3671 Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  11 месяцев назад

      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!

  • @caglargulucan
    @caglargulucan Год назад

    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  Год назад +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 Год назад

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

  • @diegoporras7769
    @diegoporras7769 Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

      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?

  • @matthewgreen3031
    @matthewgreen3031 Год назад +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  Год назад

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

  • @AkarshBA
    @AkarshBA 11 месяцев назад

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

    • @thecloudinvestor777
      @thecloudinvestor777  11 месяцев назад

      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!

  • @narendranavlani8292
    @narendranavlani8292 Год назад

    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  Год назад

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

  • @aristotleoracles1457
    @aristotleoracles1457 7 месяцев назад

    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  7 месяцев назад

      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!

  • @priyankakannur1259
    @priyankakannur1259 Год назад +1

    Good class

  • @pratikpednekar5363
    @pratikpednekar5363 Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад +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 Год назад

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

  • @madeshwarans1197
    @madeshwarans1197 Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

      Please look into this video where I have deployed one sample php app: ruclips.net/video/cfO5mfI_EdM/видео.html

  • @festuskwafo
    @festuskwafo Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

      I have resolved the error in this video ruclips.net/video/cfO5mfI_EdM/видео.html

  • @fridgethrower5930
    @fridgethrower5930 Год назад +1

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

  • @ellmango
    @ellmango Год назад +1

    video starts at 1:30 but isnt helpful anyway

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

      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 6 месяцев назад +2

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

    • @thecloudinvestor777
      @thecloudinvestor777  6 месяцев назад

      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. 😄

  • @jamesyang6603
    @jamesyang6603 Год назад +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  Год назад

      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 Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

      @@jamesyang6603 I have resolved the error in this video: ruclips.net/video/cfO5mfI_EdM/видео.html

  • @mdmahtabalam298
    @mdmahtabalam298 Год назад +1

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

    • @thecloudinvestor777
      @thecloudinvestor777  Год назад

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