Questions tagged [amazon-lightsail]
Virtual Private Server (VPS) platform from Amazon Web Services
98
questions
0
votes
0
answers
63
views
NET::ERR_CERT_COMMON_NAME_INVALID after lightsail name server change
I have 3 AWS lightsail load balancers that are connected to each of my 3 lightsail instances. Each LB is connected to one of the instances.
I have a domain that is registered with a 3rd party and is ...
0
votes
0
answers
42
views
Using Snapshot to upgrade AWS Lightsail instance but server does not reflect new hard drive space
I had a very small aws lightsail ubuntu Apache2 instance that I had to upgrade because the hard drive space was two small.
I made a snapshot of the instance and used it to create a new bigger instance....
0
votes
0
answers
727
views
CPU 100% PHP-FPM Processes Wordpress
EDIT:
I have determined that I have a configuration problem and my ignorance is the problem. I have php-fpm processes that are eating up all of the ram and cpu of my server. I decided to max out a vps ...
0
votes
1
answer
29
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 ...
1
vote
0
answers
27
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.
0
votes
0
answers
111
views
[AWS Lightsail wordpress]HTTPS domain name hyperlinks replaced by HTTP static IP
I moved my blog to AWS Lightsail for Wordpress instance. I have Ezoic CDN enabled + DNS management proxied with Cloudflare. Domain name redirects to HTTPS from HTTP.
example.com --> https://example....
2
votes
1
answer
2k
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 ...
0
votes
0
answers
13
views
What Instances Does Lightsail Run On
Is there a list of EC2 instances that match up to their Lightsail counter parts? Same for the RDS instances and their Lightsail counter parts.
I have looked all over for this but have been unable to ...
1
vote
1
answer
110
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 ...
1
vote
1
answer
60
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 ...
1
vote
1
answer
757
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 ...
0
votes
1
answer
76
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 ...
0
votes
0
answers
54
views
Setting up a local WordPress dev environment based on a snapshot from AWS Lightsail
I'm hoping that you can help me wrap my head around how to set up a local WordPress dev environment based on a snapshot from AWS Lightsail. I recently started a new job that involves working on ...
0
votes
1
answer
2k
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 ...
1
vote
0
answers
147
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 ...
0
votes
1
answer
609
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 ...
1
vote
1
answer
233
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 ...
0
votes
1
answer
152
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 ...
0
votes
0
answers
644
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 ...
1
vote
0
answers
140
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 ...
0
votes
1
answer
264
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 ...
0
votes
0
answers
172
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 ...
0
votes
0
answers
1k
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 ...
0
votes
1
answer
343
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. ...
1
vote
1
answer
53
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
1
vote
1
answer
496
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 ...
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.
...
0
votes
1
answer
694
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 ...
0
votes
1
answer
575
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 ...
0
votes
0
answers
156
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 ...
1
vote
1
answer
929
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 ...
1
vote
1
answer
523
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 ...
-1
votes
1
answer
264
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 ...
1
vote
1
answer
253
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 ...
1
vote
0
answers
421
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 ...
0
votes
0
answers
121
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 ...
0
votes
0
answers
1k
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....
1
vote
2
answers
621
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 ...
0
votes
1
answer
85
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 ...
0
votes
1
answer
671
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 ...
3
votes
1
answer
948
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 ...
1
vote
1
answer
1k
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 ...
2
votes
0
answers
186
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 ...
0
votes
3
answers
3k
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 ...
0
votes
1
answer
325
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 ...
0
votes
0
answers
77
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 ...
0
votes
1
answer
1k
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 ...
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 ...
0
votes
0
answers
262
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 ...
0
votes
1
answer
713
views
DDoS & Amazon Lightsail Load Balancing
One of the sites I host on Amazon Lightsail recently became victim of a DDoS attack. I've been able to fend it off using Cloudflare's "I'm under attack" mode.
I'm wondering if load balancing ...