Questions tagged [amazon-lightsail]

QUESTIONS ABOUT SERVER ADMINISTRATION ARE OFF-TOPIC. Consider https://serverfault.com for those. Virtual Private Server (VPS) platform from Amazon Web Services. NOTE: Since there are a number of OS options available on Lightsail, it will help people answer your question if you indicate what blueprint you are using.

Amazon Lightsail is a simplified and minimalistic Virtual Private Server (VPS) platform, part of the Amazon Web Sevices infrastructure. Questions about professional server administration should typically be posted on Server Fault.

698 questions
0
votes
0 answers

Wy Lightsail AvailabilityZones not working?

I try to get zones from lightsail, but I see regions with empty values. >>> ls = boto3.client('lightsail') >>> ls.get_regions(includeAvailabilityZones=True) {u'regions': [{u'displayName': u'Virginia', u'description': u'This region is recommended to…
Mike C
  • 1
  • 1
0
votes
1 answer

running a NodeJS process with forever-monitor on development server

I am attempting to run my expressJS app continuously on a server using forever-monitor. I don't get any errors however my app does not keep running as expected, the process exits after 3 restarts. Can I omit the max value here or what am I missing…
timber535
  • 425
  • 1
  • 3
  • 17
0
votes
1 answer

Trying to set up SSL/TLS certificate on Debian Apache AWS Lightsail instance by following tutorial, but still not working

By "not working" I mean the page loads with an http:// prefix. If I manually type https:// it times out. I'm hoping that someone who has done this before can glance at the tutorials and see what might be missing. The tutorials I've tried all tend to…
0
votes
1 answer

Two Different AWS Lightsail Instances Pointing To The Same Website

In order to create a backup of an AWS Lightsail instance I took a snapshot and recreated that snapshot as an instance. I now have two different instances configured on my AWS Lightsail account with separate static IP Addresses: Original:…
a2b123
  • 573
  • 1
  • 5
  • 19
0
votes
1 answer

Nginx Gunicorn socket issue? Unresponsive

I'm trying to deploy a Django project to a AWS Lightsail server. I followed mostly this tutorial. I added some SSL protocols for additional security. This projects runs perfectly on my Ubuntu 18.04 VirtualBox with exact same setup and exact same…
TheSeeker
  • 183
  • 10
0
votes
1 answer

How do I start/stop my lightsail instance without manually logging into aws console?

I am trying to automate a switch between my on-prem server and a lightsail instance. The idea is to have a safe-mode. If my on-prem server fails, I will have the lightsail instance run only critical services, while I try to bring up my on-prem…
0
votes
1 answer

Connecting Remote MAMP Pro to AWS Lightsail Instance

I've setup a VPS on Amazon's Lightsail and can connect via FTP (transmit on a mac) fine. I'm trying to set-up MAMP Pro's Remote section so I can import and publish live sites directly. I think I'm using all the correct details, but it fails with a…
0
votes
1 answer

how to check if root login is disabled on ubuntu server

I tried logging in lightsail instance machine as a root user using the ssh key pair. The response I received was Please login as the user "ubuntu" rather than user "root". I want to know how to check whether login with root is disabled and if it…
SID
  • 47
  • 1
  • 11
0
votes
1 answer

Unable to connect to Ubuntu Server via ssh after ufw rules update

I updated ufw on my ubuntu server in aws with the following commands Changed the port value in /etc/ssh/sshd_config file to 2200 from 22 sudo service ssh restart sudo ufw allow ssh sudo ufw allow www sudo ufw allow ntp sudo ufw enable After these…
SID
  • 47
  • 1
  • 11
0
votes
1 answer

Accessing AWS Lightsail LAMP Stack - MariaDB from PHP PDO object

I created a AWS Lightsail LAMP stack and I was able to create a database with several tables that I accessed using http://127.0.0.1:8888/phpmyadmin/index.php (must first create an SSH Tunnel with source port 8888 & destination localhost:80). After…
0
votes
2 answers

Connect to AWS Lighsail instance on port 9200 from AWS Lambda

I'm trying to setup elasticsearch on my AWS lightsail instance, and got it running on port 9200, however I'm not able to connect from AWS lambda to the instance on the same port. I've updated my lightsail instance level networking setting to allow…
0
votes
1 answer

MongoError: not authorized on admin to execute command on AWS Lightsail

I am trying to deploy my application to AWS Lightsail. However, I run into this error: MongoError: not authorized on admin to execute command { listIndexes: "users", ...... The server is running the Bitnami MEAN stack version 3.6.5-0. I have…
0
votes
1 answer

How to change nginx document root on AWS Lightsail?

I have setup an AWS Lightsail server running LEMP. I adding a demo app for laravel and want to change the document root of the ngnix server so that the main website goes to /myapp/public which is the public directory for the laravel app. Is there…
snowykz
  • 258
  • 1
  • 12
0
votes
2 answers

execute bash command works but not on crontab

I am using aws lightsail product. When i execute on bash the commend, * * * * * docker exec -it my_container_name Rscript /home/path/to/file.R I also checked cron log using grep CRON /var/log/syslog and it says it worked fine. But the result is…
asbebe
  • 71
  • 1
  • 11
0
votes
1 answer

Is it possible to manage a lightsail instance by multiple accounts?

Within our AWS organization we have multiple accounts. When a user creates a lightsail instance within its account it is only visible to this specific account. Is it possible to make the instance visible to all accounts in an organization group, or…
bertkat
  • 13
  • 6