This video will show you how to install .Net Core on AWS Linux, deploy a .Net Core application to AWS, configure Apache to work with Kestrel and access the application from outside of AWS.
Пікірлер: 45
@themasterrogerdelgado4 жыл бұрын
This was an amazing tutorial Jon. Thank you! Just to save a lot of time for others, with .NET Core 3.1, there is a default to redirect http -> https. You MUST disable port 5001 (https) OR only use https for these instructions to work. Otherwise you'll get a 502 from the browser and a 302 in your ssh test session that redirects to a port that nobody is listening on.
@shanekhantsoemoe49964 жыл бұрын
Thanks Bret. You saved a lot of my time.
@stephancisco2304 жыл бұрын
Thank you for the detailed work .....I really appreciate your work...Please keep us posted ....
@telejonjensen4 жыл бұрын
Thank you! Will do!
@herveclaveau5 жыл бұрын
This video is a little old but everything works like a charm, thank you very much !
@telejonjensen5 жыл бұрын
Hi Herve, Thanks! Jon
@arsamrahmaan88123 жыл бұрын
thanks man. Love from Pakistan
@hirankailas5 жыл бұрын
Thanks Jon.Great effort.It helped me to host the application.
@joepadz20015 жыл бұрын
Many thanks very helpful.
@telejonjensen5 жыл бұрын
Hi Joel, Thanks for watching! Jon
@ITibalt3 жыл бұрын
Oh, it's beautiful
@SantoshChenreddy Жыл бұрын
Actually this is wonderful to watch such an easing video. I have a frontend and backend app. I would like to host this ASP.netcore app on Amazon linux 2 machine and I want to hit frontend at port 3000 and backend at 80. Please suggest how we can do that as the ports I am gonna use are in reverse here. Thanks in advance. Hope, you can figure this and assist me and as I am doing this at the hour of emergency
@pogromcagoblinow3 жыл бұрын
Nice one
@telejonjensen3 жыл бұрын
Thanks 🔥
@RK-hello4 жыл бұрын
What if there is websocket protocol running on the ASP.NET application on ws://localhost:5000/ws ? How do we handle that on the reverse proxy?
@raririm1113 жыл бұрын
I upload my compiled code to t2.micro with 7 Kb/s during the 20 minutes. Is this normal for t2 insances or my network has the problem ?
@CafeAsp6 жыл бұрын
Good Job!
@telejonjensen6 жыл бұрын
Hi, Thanks for watching!
@farrukhmask4 жыл бұрын
I need to do CI/CD From Bitbucket Pipeline , could you help.
@gurbrindersingh57375 жыл бұрын
thanks
@joseandrescabrerabenetto66515 жыл бұрын
Hi Jon, great videos! They are very usefull. I have two doubths about .net core and the ec2 linux ami machine. The first one is how I can set up the HTTPS in my app? And the other doubth is about how I can leave the dotnet app running and close the sesssion in PuTTY?
@telejonjensen5 жыл бұрын
Hi Jose, You should be able to set up https on the server and then look at this: docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-2.2&tabs=visual-studio You can have the service start up as part of the server startup so you can disconnect. Jon
@progressive20234 жыл бұрын
Thanks for a good video. Just a quick question: what if I stop the SSH session. My service stop working. I want it to be running after I close the SSH session on the server.
@telejonjensen4 жыл бұрын
Hi Raman, I'm not sure what you mean. If your service requires SSH you will need to have that enabled for it to work. Let me know if that doesn't answer the question. Jon
@progressive20234 жыл бұрын
Jon Jensen thanks for the reply, John. All I want is to access the application from Internet. When I SSH the EV2 instance, I am able to access the application running inside ec2 but now I want to access it from internet. But now I don’t need to access the ec2 so disconnecting the connection. But now can’t access my application from the url provided on browser.
@gosaikv6 жыл бұрын
Yes i have same question !!
@azzamqumsieh33046 жыл бұрын
I did solve the problem if you need help I can give you hand with that @krunal gosai
@gosaikv6 жыл бұрын
Azzam Qumsieh yah sure please send instructions or details on gosaikv@gmail.com
@raul17936 жыл бұрын
Hello Jon, First of all, many thanks for the video. I would like to ask you if you know how to detect when the dotnet core webservice published in the ec2 stops. Sometimes the site stops and I have to rerun dotnet WebService.dll to get it up. Can the site restart be automated?
@telejonjensen6 жыл бұрын
Hi Raul, You can have a health check running that will do this. You can use this: docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html We also have used Apica for doing this as well. I would try to get to the bottom of why the service is stopping if possible. Thanks for watching! Jon
@visheshmahale7906 жыл бұрын
Sir thanks for the video, Please tell me suppose I also want a MYSQL database inside this and my app communicate with the database then what should I do.
@telejonjensen6 жыл бұрын
Hi Vishesh, I will be doing a video on using AWS RDS soon that will answer this question. Thanks! Jon
@visheshmahale7906 жыл бұрын
I will be waiting for your video.
@shuchikasliwal12995 жыл бұрын
Hi Jon, Thanks for sharing the video, this was really helpful. I followed every step and I am able to run my app on localhost withing AWS but I am not able to access it outside, can you help me with that? Thanks :)
@telejonjensen5 жыл бұрын
Hi Shuchi, You could allow access from the outside but you may want to host on Azure or AWS. Here are a couple of videos for AWS: kzbin.info/www/bejne/m6nGXp5ohNmYjdE kzbin.info/www/bejne/bHyvp6KejNeasLM Jon
@azzamqumsieh33046 жыл бұрын
Thank you for this nice Video, I have a question, how can I configure Apache to run multiple APIs projects, I have 4 API projects that I need to run on the same EC2, I tried to use DocumentRoot but without any luck, I hope you can help me with that, Thanks Again.
@telejonjensen6 жыл бұрын
Hi Azzam, I'll try that out and post an answer. Thanks for watching! Jon
@azzamqumsieh33046 жыл бұрын
Hi Jon, I did find a way to do that but if you can make a video on this it will be great so others can learn how to do it too , Thank you again
@entertainmentariful52345 жыл бұрын
Can't find the same documentation (docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x). So how to install it now?
@telejonjensen5 жыл бұрын
Hi Ariful, .Net Core now comes installed already on EC-2 instances. Here is an updated video: kzbin.info/www/bejne/bHyvp6KejNeasLM Jon
@MrRituraj123456 жыл бұрын
Hello sir I need help I have found error: -bash: dotnet command not found When lunching application dotnet helloDemo.dll
@telejonjensen6 жыл бұрын
Hi Ritu, It seems like .Net Core isn't installed properly? Jon
@niroopreddy69105 жыл бұрын
sudo yum install dotnet-sdk-2.1 use this
@henson2k5 жыл бұрын
@@niroopreddy6910 How to install core from S3 when there is no access to internet?
@niroopreddy69105 жыл бұрын
I didn't get the question @Nikolay Kilmchuk when there is no internet how can i access to S3 nor EC2. if we need to do an offline install of Core on a local linux OS, download a core package from microsoft official site and install it boss.