Get the source code for this video for FREE → the-dotnet-weekly.ck.page/elastic-beanstalk Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
It wasn't working for me-I kept getting an error message every time: "The Launch Configuration creation operation is not available in your account. Use launch templates to create configuration templates for your Auto Scaling groups." 🤔
I found information on forums that you need to have 'DisableIMDSv1' set to 'true' and 'RootVolumeType' set to 'gp3'. Disabling 'DisableIMDSv1' doesn't help, but I don't know where to set 'RootVolumeType'.
Two things that would make the video longer, but more "production-ready": 13:02 Maybe a better way would be to use secrets manager to store a connection string (I assume it contains the db password)? And is there an easy CI/CD option from the usual hosted services? Would be nice promo for AWS.
I like to keep the videos focused on one topic. But I promise to cover secrets manager in a future video. Will also check for CI/CD options. There's the AWS CLI tooling, but I'll see if I can demonstrate how to use it from a pipeline.
I have a couple of questions regarding my setup: 1-If I have an existing database in RDS before creating the Elastic Beanstalk environment, do I only need to get the endpoint and add it to the environment properties without needing Elastic Beanstalk to create an RDS database? 2-Why does the default domain name not open on other sources like Android or iOS devices, but it opens on the desktop where it was created? Since I am developing a Flutter app and handling the backend, this issue means that when we request API services from the Flutter app, the domain does not respond. How can I fix this and ensure the domain opens on all devices?
I have successfully configured the connection and published the application on AWS. I tested the HTTP API request from Flutter to the hosted domain, and it worked perfectly.If I am working on a social media platform, I have configured the settings similarly to yours. However, in my case, I need to work on a larger scale. Can you suggest good configurations for this scenario?
Thank you for the reply, Milan. Your videos are always great. Let me ask you something else. Do you know if it’s possible to use Beanstalk with ECS + ECR for docker builded apps?
@@robertmrobo8954 Happens all the time. The .NET community is small, so chance for overlap is pretty high. I've seen cases where another creator would post the same video as me after a few days. It happens.
Thanks for this helpful tutorial, Milan 👍🏻🙏 I also watched your AWS lambda deployment video and my question is what would be the considerations whether to choose AWS lambda or Elastic Beanstalk? Thanks!
They're very different. Elastic Beanstalk runs your app in an EC2 instance (like a VPC), which is much more powerful for running .NET applications. EC2 is better for running an entire API. Lambda is great for running one endpoint (or a few endpoints). If that makes sense?
Have you ever deployed a .net app to AWS Amplify? Not sure if I'm missing something obvious, but it seems like a huge pain. I've gotten it to deploy but the site will never load (just says 404). Would love to see how you deploy to Amplify if you've ever done it.
Thanks for the video youre amazing. I have a doubt. I followed all the steps by one by one. I deployed correctly my application. I'm getting green health on mi environment elastic console. But when i click on the domain given im getting status code 404 in all my request, even I can not see my swagger. but all works perfectly on my local environment. Any suggest that can you give me?
Wrong way to look at it. This is a collab with AWS, so I'm talking about AWS. I've used both Azure and AWS professionally. You won't go wrong with either one. That being said, Azure has more native integration with .NET (expected, as its a MSFT product).
Get the source code for this video for FREE → the-dotnet-weekly.ck.page/elastic-beanstalk
Want to master Clean Architecture? Go here: bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
It wasn't working for me-I kept getting an error message every time: "The Launch Configuration creation operation is not available in your account. Use launch templates to create configuration templates for your Auto Scaling groups." 🤔
I found information on forums that you need to have 'DisableIMDSv1' set to 'true' and 'RootVolumeType' set to 'gp3'. Disabling 'DisableIMDSv1' doesn't help, but I don't know where to set 'RootVolumeType'.
I think you're missing some permission in IAM
The solution was in "Auto scaling group" section set "Spot instance"
Two things that would make the video longer, but more "production-ready": 13:02 Maybe a better way would be to use secrets manager to store a connection string (I assume it contains the db password)? And is there an easy CI/CD option from the usual hosted services? Would be nice promo for AWS.
I like to keep the videos focused on one topic. But I promise to cover secrets manager in a future video. Will also check for CI/CD options. There's the AWS CLI tooling, but I'll see if I can demonstrate how to use it from a pipeline.
Great video and explanation, you have a real talent of keeping things simple for complex situations
Thanks!
I have a couple of questions regarding my setup:
1-If I have an existing database in RDS before creating the Elastic Beanstalk environment, do I only need to get the endpoint and add it to the environment properties without needing Elastic Beanstalk to create an RDS database?
2-Why does the default domain name not open on other sources like Android or iOS devices, but it opens on the desktop where it was created? Since I am developing a Flutter app and handling the backend, this issue means that when we request API services from the Flutter app, the domain does not respond. How can I fix this and ensure the domain opens on all devices?
1 - Yes.
2 - No idea. Any answers on SO?
I have successfully configured the connection and published the application on AWS. I tested the HTTP API request from Flutter to the hosted domain, and it worked perfectly.If I am working on a social media platform, I have configured the settings similarly to yours. However, in my case, I need to work on a larger scale. Can you suggest good configurations for this scenario?
this was a huge help. thank you for making this!
Glad it helped!
Hello! Thank you, Milan. Does it support websocket?
Yes, you can do that
Thank you for the reply, Milan. Your videos are always great. Let me ask you something else. Do you know if it’s possible to use Beanstalk with ECS + ECR for docker builded apps?
Great video. Haven't user Elastic Beanstalk before
Worth a try if you don't have a DevOps to do the setup.
@@MilanJovanovicTech I am sure that a lead developer or an architect must know how to do such things himself, despite having DevOps engineers
I am yet to see a video by Milan which wasn't upload a few hours or a day after someone uploaded a video with the same subject.
10:49 apparently it was recorded on june 26
I record 'em a few weeks in advance, usually
@@MilanJovanovicTech Fair-play to you then if that is the case. Co-incidence at its best I guess.
@@robertmrobo8954 Happens all the time. The .NET community is small, so chance for overlap is pretty high. I've seen cases where another creator would post the same video as me after a few days. It happens.
@@MilanJovanovicTech great minds think alike
Thank you for this content, this is exactly what I was looking for
You're very welcome!
Thanks for this helpful tutorial, Milan 👍🏻🙏
I also watched your AWS lambda deployment video and my question is what would be the considerations whether to choose AWS lambda or Elastic Beanstalk?
Thanks!
They're very different. Elastic Beanstalk runs your app in an EC2 instance (like a VPC), which is much more powerful for running .NET applications. EC2 is better for running an entire API. Lambda is great for running one endpoint (or a few endpoints). If that makes sense?
@@MilanJovanovicTech Thanks!
pure gold content, thank you!
Much appreciated!
Have you ever deployed a .net app to AWS Amplify? Not sure if I'm missing something obvious, but it seems like a huge pain. I've gotten it to deploy but the site will never load (just says 404). Would love to see how you deploy to Amplify if you've ever done it.
I haven't used AWS Amplify
Do you have plan to make video on event sourcing pattern ? I found it most complex pattern .
Yes, soon
Thanks for the video youre amazing. I have a doubt. I followed all the steps by one by one. I deployed correctly my application. I'm getting green health on mi environment elastic console. But when i click on the domain given im getting status code 404 in all my request, even I can not see my swagger. but all works perfectly on my local environment. Any suggest that can you give me?
Did you set up the environment so that Swagger is exposed? (or removed the condition)
Are you calling the correct API routes?
Why aws over azure?
Why azure over aws?
@@drhdev
Lol
Don't think Amazon would like that after paying him to make it about AWS.
Wrong way to look at it. This is a collab with AWS, so I'm talking about AWS.
I've used both Azure and AWS professionally. You won't go wrong with either one.
That being said, Azure has more native integration with .NET (expected, as its a MSFT product).
K
😊😊
💪