Skip to main content

Questions tagged [amazon-lightsail]

Virtual Private Server (VPS) platform from Amazon Web Services

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

How to configure AWS Lightsail IPv6-only instance to use NAT64?

I have Ubuntu 22 running on AWS Lightsail IPv6-only instance. I can connect from that instance to IPv6 servers just fine. However connecting to IPv4 fails: ping wordpress.org PING wordpress.org (198....
Pavel Chuchuva's user avatar
0 votes
2 answers
92 views

Creating an ssh keypair for AWS Lightsail/EC2 instances doesn't work as expected

I've created a fair few SSH keypairs in my days but AWS seems to handle them differently. I'm using AWS Lightsail and it has a notion of 'default' keypairs. This is fine for the 'normal' user that AWS ...
Alistair Ross's user avatar
0 votes
0 answers
37 views

Cannot start apache from lampstack

I just installed bitnami-lampstack-7.4 on my linux box. I cannot start apache, I'm getting /opt/bitnami/apache/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object ...
BioRod's user avatar
  • 313
0 votes
2 answers
823 views

mod_wsgi on Amazon Linux 2023

I want to install Apache server module mod_wsgi on (Server version: Apache/2.4.56) Amazon Linux 2023 a Lightsail Instance. I have python3.9 and I tried with rpm it's showing error - Problem: ...
Shiv Sharma's user avatar
0 votes
1 answer
307 views

Laravel app routes not working when using domain name (fine with IP address) on AWS Lightsail

I am running a Laravel 10.x application on an Amazon Lightsail server here - 18.134.48.92 Currently when browsing to http://18.134.48.92/login I am correctly shown the login page (I am using Laravel ...
Zabs's user avatar
  • 211
0 votes
0 answers
109 views

Can we setup VPC for AWS Lightsail resources?

I am developing an app and to host backend system I am using AWS Lightsail. Is there a way to keep all the inter service communication private? I am aware this can be achieved with VPC while using AWS ...
Kuldeep Yadav's user avatar
0 votes
0 answers
222 views

CNAME not working in Lightsail Custom Domain

I have a domain named xyz.com. Custom domain has the domain in it. It is registered outside AWS and Name Server is pointed to AWS Custom Domain in Lightsail. Here is the setup for it. Lightsail ...
Ariel's user avatar
  • 101
0 votes
1 answer
72 views

How to start myslq if it fails to start due to insufficient space, and the main files eating up space are mysql binary log files

My server disk usage looks like this: Filesystem Size Used Avail Use% Mounted on udev 989M 0 989M 0% /dev tmpfs 200M 21M 180M 11% /run /dev/xda1 59G 57G ...
truba's user avatar
  • 1
1 vote
0 answers
45 views

How do I change a port restricted IP in a Lightsail instance via API?

I have a port that is IP-restricted in a Lightsail instance. How do I change that restricted IP via API or even aws-cli? I prefer via API using cURL. Thanks in advance.
Primo's user avatar
  • 11
4 votes
1 answer
7k views

"very high" (probably?) MTU being set automatically on wireguard interface

So, I have a VPS running on Amazon Lightsail and I installed wireguard on it; I setup an interface this way: [Interface] Address = 10.255.128.1/24 MTU = 1420 SaveConfig = true PostUp = iptables -A ...
Yoel Navas Escalante's user avatar
1 vote
1 answer
466 views

How to create new instance from a snapshot and a new OS version

I have a NodeJS instance on Amazon LightSail. I want to upgrade the underlying Operating System to a newer major version, say Ubuntu 18 LTS to Ubuntu 20 LTS. When I create a new instance from the ...
emonigma's user avatar
  • 269
1 vote
1 answer
158 views

load static IP without specifying port

I am using AWS lightsail. I cloned my git repository to my htdocs and opened port 3000 on my networking ipv4 firewall. What im trying to do is load my node site with my aws static IP. It currently ...
seriously's user avatar
  • 121
1 vote
1 answer
1k views

Force redirect HTTP to HTTPS AWS WORDPRESS MULTISITE BITNAMI

I have two websites on AWS Lightsail WORDPRESS Multisite BITNAMI - default installation and configuration. HTTPS is already working, however, if the user uses HTTP - it also works - I would like to do ...
Fabio's user avatar
  • 11
0 votes
1 answer
130 views

How to keep server running on AWS LightSail

I have a dynamic server hosted by an Ubuntu instance on AWS LightSail that I startup in the shell. It works well but the website no longer works once I close the shell that it is running in. I am ...
Jack N's user avatar
  • 101
0 votes
1 answer
3k views

Server refused to connect after installing SSL via Certbot | Docker + Nginx, AWS Lightsail

I have successfully managed to install SSL via certbot into my Nginx Docker container, but after installation, all traffic routed via HTTPS refuses to connect. curl https://www.example.com or curl ...
Pranav's user avatar
  • 101
1 vote
0 answers
220 views

Apache doesn't respond

I have a AWS Lightsail Bitnami LAMP 7.4.27-16 machine that every night stops responding at random time. I installed LetsEncrypt certificate and vsftpd for a new specific ftp user. On the machine all ...
Daniele C's user avatar
0 votes
1 answer
970 views

Log in failed CLIENT_UNAUTHORIZED [769] on Web terminal of AWS LightAail

I'm using AWS LightAail on Ubuntu. Initially Web based Terminal was working fine, but when I did $ sudo apt-get update $ sudo apt-get upgrade I got an error Log in failed. If this instance has just ...
Yevgeniy Afanasyev's user avatar
1 vote
1 answer
465 views

Can I mount a Lightsail disk as a volume on a container service?

I need to mount a Lightsail disk as a volume on an Lightsail container service I want use to run a Docker container in. I need this for the persistent storage. Is that possible or are Lightsail ...
GilShalit's user avatar
  • 161
0 votes
1 answer
219 views

Can't access EC2 on domain name, just on IP. Cname is correct, and can route this domain to lightsail server

Thanks for taking the time. I have ported a lightsail instance over to EC2 and am running a t.2 larger server. I am running a wordpress site and the homepage is just a blank white page. I have ...
Liam Montgomery's user avatar
0 votes
0 answers
973 views

Gateway Timeout Error AWS Lightsail

I have a flask API container deployed on Lightsail. When I make a request to one of the API endpoints, I get a 504 gateway error as the status on the client-side. However, when I check the server logs ...
Mosky1970's user avatar
1 vote
0 answers
203 views

How does AWS Lightsail Container Service manage memory?

I have a container deployment running on Lightsail that manipulates and returns a list of file-like objects. I'm using these objects because Lightsail container deployments do not support persistent ...
Mosky1970's user avatar
0 votes
1 answer
458 views

Is there a way in Lightsail's firewall to accept all connections except from a particular IP?

In Lightsail's Networking tab, they have the option to allow certain IPs through their firewall. Is there a way to allow all IPs except for a certain IP? The AWS guide says that there is no way to ...
OrdiNeu's user avatar
0 votes
0 answers
291 views

Unable to resolve host domain name

Recently, I noticed that time to time my client is unable to resolve my domain name. I have a Lightsail instance with a static IP, a Lightsail DNS Zone, and finally a Route53 domain name. The only ...
user avatar
0 votes
0 answers
2k views

Why can't I connect to my Amazon Lightsail instance using {ip-address}+{port-number} in my browser? Firewalls seem to be set correctly

I have set up a new Amazon Lightsail instance with the intention of running a few things such as a VPN and Resilio Sync server. I have also set up an instance (or "droplet") with Digital ...
Inigo's user avatar
  • 101
0 votes
1 answer
565 views

How do I set up Fail2Ban on an Amazon Lightsail Debian instance, when it has its own firewall?

This is a very basic question, but all the answers I can find either relate to WordPress installs or Bitnami installs. I have a plain Debian instance running Nginx. I would like to set up Fail2Ban. ...
ShankarG's user avatar
  • 135
1 vote
1 answer
116 views

MySQL user is taking more than 100% of CPU utilization

My CPU% is more than 130% but i haven;t created any user with name "MYSQL" Here is what i am getting Image here
Aayush Bansal's user avatar
2 votes
1 answer
1k views

Instance created from (working) Lightsail snapshot will not respond to nginx requests

I'm trying to scale up a Lightsail instance. It's a basic Wordpress site on an Amazon Linux 2 AMI running nginx and mariadb. It's using a static IP. Works fine. When I create a snapshot of it, use it ...
Jailbot's user avatar
  • 131
3 votes
1 answer
2k views

How can I attach persistent storage to an AWS Lightsail container?

AWS Lightsail supports container services, with deployment - kind of Docker compose structure. Add multiple containers, specify environment variables, and entrypoint, and choose to add a public IP. ...
ndemarco's user avatar
  • 213
0 votes
1 answer
1k views

Why is nginx not working with my subdomain A record on LightSail?

I have an Ubuntu machine on LightSail which serves static files with nginx. I would like to a subdomain so I've added an A Recording pointing to the IP of the machine named client.mydomain.com. My ...
Paul's user avatar
  • 305
2 votes
1 answer
1k views

Why does running a containerized app with AWS Lightsail cost twice as much as using a virtual server?

As per https://aws.amazon.com/lightsail/pricing/ , running a lightsail VPS with 512 MB Memory, 1 Core Processor costs $3.50 a month. However, in that same link it shows that the lowest cost of ...
timfoil's user avatar
  • 137
0 votes
0 answers
213 views

Is this a normal number of database connections?

Check out this graph of my database connections. I am running a Postgres database on Lightsail, and I am connecting to it from a single Ubuntu instance running a single instance of Express and ...
Glenn's user avatar
  • 101
1 vote
1 answer
2k views

Website responds to IP, but not Domain

I have hosted a Django-based website, which is running on Apache2, on an AWS Lightsail Ubuntu 20.04 instance. The website is accessible when you use the ip, 18.133.43.205. But when I try to search my ...
James's user avatar
  • 13
1 vote
1 answer
767 views

Does AWS Lightsail block wireguard?

For a long time now I had an AWS Lightsail VPS serving as a wireguard gateway to my home server. Since recently connection to the Lightsail instance via wireguard is no longer possible. When I took a ...
andrsmllr's user avatar
  • 121
-1 votes
1 answer
350 views

without http and https, domain is not reachable

I have this amazon lightsail instance with static public IP pointed to my godaddy domain, everything is working except if you don't include http or https, domain is not reachable. A godaddy support ...
Juliver Galleto's user avatar
1 vote
1 answer
335 views

SSL configuration - Lightsail

Having trouble getting SSL working on Amazon Lightsail using let's encrypt (certbot --apache) Lightsail image Centos7 Added Apache2 note: (example.com, subdomain.example.com are not my domains, I'm ...
Philippe's user avatar
  • 109
1 vote
0 answers
467 views

AWS Web Application Firewall for all AWS Lightsail Instances

I have CloudFlare for domains that point to AWS instances. I set up a CloudFlare firewall rule to block traffic by country, where I manually included embargoed countries. AWS has the Web Application ...
emonigma's user avatar
  • 269
0 votes
0 answers
166 views

CentOS instance on Amazon Lightsail "bricked" out of the blue, how to resolve?

My CentOS 7 instance on Amazon Lightsail (AWS) will suddenly no longer respond to SSH. Even the "Connect Using SSH" button on the Lightsail site shows me only a blank black screen. I have ...
Marcus's user avatar
  • 195
0 votes
0 answers
2k views

How to host two websites on one AWS lightsail instance

I'm quite new to this whole website thing and I'm looking for some guidance on how to configure bitnami apache so I can have two websites on the same server. I have a domain (which i'll call example....
dangee1705's user avatar
1 vote
2 answers
804 views

SSL invalid on Lightsail Bitnami Wordpress Multisites after new instance made from snapshot

We'll likely need to upgrade a Lightsail Bitnami WordPress Multisite instance in the future, so I'm testing doing it. After I take a snapshot and then create a new, lager instance from it, then switch ...
Ralpharama's user avatar
0 votes
1 answer
151 views

nginx not displaying correct page when navigating to www.domain.com ok when just domain.com

I'm trying to deploy nginx / gunicorn / flask on ubuntu and all seems to be working when I navigate to "domain.com" but when i go to "www.domain.com" i get the defualt splash ...
Lewis Morris's user avatar
0 votes
1 answer
926 views

How do I track down a mysql memory issue on a server running a single WordPress site?

I'm having a weird issue. A few times a week, a website I'm running on Amazon Lightsail comes to a crashing halt and becomes IO bound (I can't usually use ssh when this happens) and the server runs ...
StevieD's user avatar
  • 562
3 votes
1 answer
1k views

AWS Lightsail Load Balancer and Too Many Redirects

I have spent several hours trying to figure out why once I put my instance containing my website behind a load balancer, I keep getting the "Too Many Redirects" error. I have a Windows ...
Cody McGuire's user avatar
1 vote
1 answer
2k views

"Access Denied" when trying to access AWS Lightsail database

I'm trying to connect to my AWS Lightsail database instance with Navicat Premium 15.0.21 (newest available version at the time of posting). My database is in public mode. I copied and pasted the ...
kryz's user avatar
  • 13
2 votes
0 answers
245 views

How to reverse proxy a Nodejs instance on a directory of an AWS lightsail website

I have a website and Nodejs application hosted on the same AWS lightsail instance such that I want the website to connect to use the data hosted by the Nodejs application. The API is hosted on port ...
Philip09's user avatar
0 votes
3 answers
5k views

AWS lightsail Bitnami Wordpress Permissions 101

I'm new and find it a struggle to work with the permissions settings on AWS lightsail bitnami Wordpress. I don't understand why do I have permissions restrictions despite login in as bitnami root ...
SnickersTwixes's user avatar
0 votes
1 answer
447 views

Sync load balanced AWS Lightsail with multiple instances

I am planning to load balance AWS Lightsail with multiple instances. Is it possible to auto sync files in main instance to another sub instances? I would like to make easier to update themes and ...
USER KAMO's user avatar
0 votes
0 answers
97 views

Should I compile Node.js from source on an Amazon Lightsail smallest instance?

I'm using the cheapest Amazon Lightsail instance to set up an Nginx + Node.js server. I have compiled Nginx successfully already, however it's taking too long to compile Node.js. Is this is even a ...
gregn3's user avatar
  • 101
0 votes
1 answer
2k views

Lightsail LAMP - Virtual Hosts stopped working after adding SSL

After hours and hours of efforts on research, I'm posting this. I'm trying to add a domain and its sub-domain on a single static IP created in LAMP instance in Amazon Lightsail, and add Let's Encrypt ...
Yogesh Mistry's user avatar
1 vote
2 answers
2k views

How to forward http to https with Lightsail Load balancer

I currently have an app built on a lightsail server. I used Amazon certificate to create SSL https with a load balancer. Under inbound traffic I have to protocols Http Enabled Https Enabled. When I ...
FabricioG's user avatar
  • 167
0 votes
0 answers
340 views

Force https traffic on Bitnami lightsail aws

I want to make sure I get this right before messing anything up. According to [bitnami docs found here][1] to force HTTPS I should go to this file: /opt/bitnami/apache2/conf/bitnami/bitnami.conf When ...
FabricioG's user avatar
  • 167