amazon-lightsail

host public node js website on amazon AWS LightSail without Bitnami

非 Y 不嫁゛ 提交于 2021-02-11 17:00:28
问题 I have an amazon AWS LightSail instance and have installed Node js downloaded from nodejs.org. Now the setup is complete and I am able to launch my nodejs webpage inside LightSail instance using "http://localhost but when I try to do it using the lightsail public IP from any other laptop, it not getting accessible (getting web error as "This site can’t be reached"). I have set the node js to listen to port 80 which is open by default. A lot of materials shows that bitnami as a way to do it

Modified Bncert command has taken site offline

这一生的挚爱 提交于 2021-02-08 11:37:00
问题 I have made a silly mistake; So I have a LightSail instance to run my Wordpress Bitnami website. I had recently got the domain working but decided that I wanted to generate an SLL certificate so decided to run the bncert-tool function in the console. I kept getting an error message saying that the 'example.com' and 'www.examples.com' DNS public IP addresses were different. After not being able to fix this issue I ran (rather stupidly) the following command to skip the DNS record check: sudo

Modified Bncert command has taken site offline

不问归期 提交于 2021-02-08 11:35:56
问题 I have made a silly mistake; So I have a LightSail instance to run my Wordpress Bitnami website. I had recently got the domain working but decided that I wanted to generate an SLL certificate so decided to run the bncert-tool function in the console. I kept getting an error message saying that the 'example.com' and 'www.examples.com' DNS public IP addresses were different. After not being able to fix this issue I ran (rather stupidly) the following command to skip the DNS record check: sudo

How to restore Apache configuration file in Bitnami

爷,独闯天下 提交于 2021-01-29 15:38:33
问题 When running the bncert-tool on my LightSail server, I have accidentally modified some of Apache's configuration files which I now need to revert from the backup directories. See previous question and answer here for more info: Modified Bncert command has taken site offline I have looked in both the /opt/bitnami/apache2/conf and /opt/bitnami/apache2/conf/bitnami directories and can see a series of files including httpd.conf.back.202101220056 (/conf) and bitnami.conf.back.202101220056 (

Wildcard SSL on Lightsail Load Balancer

末鹿安然 提交于 2021-01-28 12:10:49
问题 I've reviewed the Lightsail load balancer and unlike ACM, you cannot add wildcard SSL's. For example on ACM, this can done: example.com *.example And then attached to an EC2 Loadbalancer. But for Lightsail, the wild card is not accepted. When we issue only on the apex domain to the load balancer: example.com When we resolve demo.example.com, we get a cert invalid error. As we don't know ahead of time the sub-domains in use, and the limit of 9 is too few, is there a workaround? 回答1: I came up

SSH back to AWS Lightsail after UFW enabling

泄露秘密 提交于 2021-01-05 09:11:24
问题 I've enabled the UFW service without allowing SSH access before then logging off. I am now unable to ssh back to the instance. The steps I have already taken: Made a snapshot and create a new instance from it 回答1: The general point: try to execute a command ( firewall disabling ) while creating a new instance. I was able to do it with the usage of AWS CLI: aws lightsail create-instances-from-snapshot --region eu-central-1 --instance-snapshot-name TEST_SSH_FIX-1591429003 --instance-names TEST

SSH back to AWS Lightsail after UFW enabling

随声附和 提交于 2021-01-05 09:11:07
问题 I've enabled the UFW service without allowing SSH access before then logging off. I am now unable to ssh back to the instance. The steps I have already taken: Made a snapshot and create a new instance from it 回答1: The general point: try to execute a command ( firewall disabling ) while creating a new instance. I was able to do it with the usage of AWS CLI: aws lightsail create-instances-from-snapshot --region eu-central-1 --instance-snapshot-name TEST_SSH_FIX-1591429003 --instance-names TEST

SSH back to AWS Lightsail after UFW enabling

主宰稳场 提交于 2021-01-05 09:10:53
问题 I've enabled the UFW service without allowing SSH access before then logging off. I am now unable to ssh back to the instance. The steps I have already taken: Made a snapshot and create a new instance from it 回答1: The general point: try to execute a command ( firewall disabling ) while creating a new instance. I was able to do it with the usage of AWS CLI: aws lightsail create-instances-from-snapshot --region eu-central-1 --instance-snapshot-name TEST_SSH_FIX-1591429003 --instance-names TEST

SSH back to AWS Lightsail after UFW enabling

旧时模样 提交于 2021-01-05 09:10:41
问题 I've enabled the UFW service without allowing SSH access before then logging off. I am now unable to ssh back to the instance. The steps I have already taken: Made a snapshot and create a new instance from it 回答1: The general point: try to execute a command ( firewall disabling ) while creating a new instance. I was able to do it with the usage of AWS CLI: aws lightsail create-instances-from-snapshot --region eu-central-1 --instance-snapshot-name TEST_SSH_FIX-1591429003 --instance-names TEST

Static files not being served on AWS Lightsail

狂风中的少年 提交于 2020-12-25 21:23:31
问题 After 2 days of trying multiple tutorials & reading StackOverflow, I'm calling for help! The setting: The development version is running smoothly on the AWS Lightsail server. It's during the production deployment that I'm running in continuous problems with the static files. The application runs on the appointed subdomain but it's missing all the JS/CSS/images/... I have followed the official docs but to no avail. 1/ https://docs.bitnami.com/aws/infrastructure/django/get-started/deploy-django