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 Жыл бұрын
@AmazonWebServices Nice tutorial! Would be great tp see an updated version of this as docs are limited...
@chartShooter5 жыл бұрын
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.
@RoyKaBob6 жыл бұрын
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!
@raymondc58746 жыл бұрын
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?
@markw4966 жыл бұрын
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.
@mikecoleman46285 жыл бұрын
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
@derpdude90404 жыл бұрын
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?
@gregbradburn4 жыл бұрын
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?
@derpdude90404 жыл бұрын
Rock Mongo has been deprecated and is no longer available.
@chaosjoerg98113 жыл бұрын
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.
@iqdavidh5 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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
@domini13375 жыл бұрын
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.
@benjaminng88826 жыл бұрын
Can I use react instant of angular?
@mikecoleman46286 жыл бұрын
Yes, but you'd need to add in whatever libraries you need as they are not part of the MEAN blueprint.
@herashak5 жыл бұрын
how did he just ssh into the box with default.pem, I get permission denied
@jamesm715 жыл бұрын
I had to download the ssh on my local drive and rename it to default.pem
@lightsensestudio87664 жыл бұрын
You may have to change the permission on the pem file to 400
@vivekvedpathak736 жыл бұрын
Thank you
@spuzziboss16 жыл бұрын
Good day i am accustomed to using mongodb on services like mlab how do i get the mongodb connect url?
@mikecoleman46285 жыл бұрын
In the Lightsail blueprint the mongo host is localhost. The video shows you the connect URL.