Deploying a Mean Stack Application on Amazon Lightsail

  Рет қаралды 25,726

Amazon Web Services

Amazon Web Services

Күн бұрын

Пікірлер: 27
@tohedul111
@tohedul111 4 жыл бұрын
Hi @mikegcoleman, You are talking about MEAN stack app deployment but I figured out that it just a node+mongo app not a MEAN stack app. What about angular part deployment?
@mnaps0822
@mnaps0822 Жыл бұрын
@AmazonWebServices Nice tutorial! Would be great tp see an updated version of this as docs are limited...
@chartShooter
@chartShooter 5 жыл бұрын
Quick question, I have a static wbsite hosted in s3 in which I can automatically update using AWS CodeDeploy connected to github. So when I want to update the website I just push my changes in git and it automatically deploys the changes in AWS. Is there a method for doing this with applications/dynamic websites when using Amazon Lightsail? Any help or advice would be much appreciated. Thanks, -Paul.
@RoyKaBob
@RoyKaBob 6 жыл бұрын
This was a great tutorial for installing the first app. Thanks for the repo. Super easy. Now to tear into the ToDo app for details on how it does it's magic. Again, thanks!
@raymondc5874
@raymondc5874 6 жыл бұрын
Do we have to run sudo node ./bin/www in the terminal and keep it open at the time? Is there a way to deploy directly from local developement to lightsail?
@markw496
@markw496 6 жыл бұрын
What you can do is clone files from a github or git repo into your lightsail. Then once you get the files if you're using node, just run the usual installs. If you look at what he's using, it looks like a generic express built app so ./bin/www is used to start service and must be open to continuing displaying the page.
@mikecoleman4628
@mikecoleman4628 5 жыл бұрын
One way to do this is use a process monitor like PM2. Check out lightsailworkshop.com there is a tutorial similar to this video where I cover using PM2
@derpdude9040
@derpdude9040 4 жыл бұрын
After I run the npm install command try to access the .env package, it says that it is a new file, meaning .env doesn't exist. Did anyone else have this problem?
@gregbradburn
@gregbradburn 4 жыл бұрын
So I'm using putty under windows to ssh into my instance. I setup a tunnel from local:8888 to bitnami@[mypublicip]:8080 and I am unable to bring up rockmongo when browsing to 127.0.0.1:8888/rockmongo Everything else works fine. I can run his todo app and run the canned MEAN app at port 8080. I just can't get to the rockmongo UI. My ssh tunnel entry in putty looks like: L8888 bitnami@xx.xxx.xxx.xxx:8080 Except of course the x's are my instance's public ip address. What am I doing wrong? How can I access the rockmongo UI using Putty on Windows?
@derpdude9040
@derpdude9040 4 жыл бұрын
Rock Mongo has been deprecated and is no longer available.
@chaosjoerg9811
@chaosjoerg9811 3 жыл бұрын
I have the same issue. Did you find any solution? Knowing that it is deprecated is good, but doesn't really give me an idea what to do now.
@iqdavidh
@iqdavidh 5 жыл бұрын
I dont understant - at 3:42 when sudo /opt/bitnami/ctlscript.sh restart apache ... the comand has a response "apache started at port 80". I tried to run node on port 30 and its not free
@jasonfisher310
@jasonfisher310 Жыл бұрын
This tutorial is very outdated. Had so many issues trying to get going with the MEAN stack in Lightsail. I was following along great until I get to the mongo part. I could not get the mongo command to work, I had to use mongosh Now I am stuck on trying to get rockmongo working. I am getting all kinds of permission issues with the .pem file. "WARNING: UNPROTECT PRIVATE KEY FILE! Permssions for 'default.pem' are too open" I went through the all the hoops of taking ownership of the file and removing all other user permissions except for full access to only my account.. I want to like and use Lightsail, but I am finding it very frustrating, and the lack of documentation is absurd.
@awssupport
@awssupport Жыл бұрын
Thank you for your feedback, Jason. I've passed it along to our KZbin team for further review. If you're interested, we have a community of experts on re:Post who might be able to answer your questions and help get you unstuck: go.aws/aws-repost. ^KR
@awssupport
@awssupport Жыл бұрын
Hello, Jason! 👋 I just wanted to follow up and share this resource with you: go.aws/3NmpMh6. Feel free to explore various articles, tutorials, and other overviews related to Amazon Lightsail. ✅📖 MO
@domini1337
@domini1337 5 жыл бұрын
So, following this tutorial, I could not get the TODO app to display, there were errors that were not printing out into the console that were related to the .env file. Inside of the bin/www and controller/utilController.js files, I removed the references to the .env file and replaced the env.port with "80" and the env.DB_URL with "mongodb://tasks:tasks@localhost:27017/?authMechanism=SCRAM-SHA-1&authSource=tasks" and it worked like a charm; just in case anyone else follows this verbatim and isn't able to get going.
@benjaminng8882
@benjaminng8882 6 жыл бұрын
Can I use react instant of angular?
@mikecoleman4628
@mikecoleman4628 6 жыл бұрын
Yes, but you'd need to add in whatever libraries you need as they are not part of the MEAN blueprint.
@herashak
@herashak 5 жыл бұрын
how did he just ssh into the box with default.pem, I get permission denied
@jamesm71
@jamesm71 5 жыл бұрын
I had to download the ssh on my local drive and rename it to default.pem
@lightsensestudio8766
@lightsensestudio8766 4 жыл бұрын
You may have to change the permission on the pem file to 400
@vivekvedpathak73
@vivekvedpathak73 6 жыл бұрын
Thank you
@spuzziboss1
@spuzziboss1 6 жыл бұрын
Good day i am accustomed to using mongodb on services like mlab how do i get the mongodb connect url?
@mikecoleman4628
@mikecoleman4628 5 жыл бұрын
In the Lightsail blueprint the mongo host is localhost. The video shows you the connect URL.
@ゴリラ-w3h
@ゴリラ-w3h 3 жыл бұрын
ありがとうございやす
@chaosjoerg9811
@chaosjoerg9811 3 жыл бұрын
This tutorial is deprecated.
Deploy Node+React (MERN) app to AWS Lightsail
31:23
Vladsave Coding
Рет қаралды 7 М.
Amazon Lightsail vs EC2 - What's the difference and When to Use What?
22:59
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 27 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 23 МЛН
AWS Networking Fundamentals
40:09
Amazon Web Services
Рет қаралды 467 М.
Build and deploy a MEAN app on Google Cloud
18:19
Google Cloud Tech
Рет қаралды 4,1 М.
Introduction to AWS Lambda & Serverless Applications
56:02
Amazon Web Services
Рет қаралды 316 М.
Containers on AWS Overview: ECS | EKS | Fargate | ECR
25:10
TechWorld with Nana
Рет қаралды 526 М.
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 253 М.
NGINX Tutorial - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 223 М.
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,5 МЛН
Getting Started with AWS | Amazon Web Services BASICS
26:52
Academind
Рет қаралды 881 М.
TLS Handshake Explained - Computerphile
16:59
Computerphile
Рет қаралды 562 М.
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47