Questions tagged [amazon-lightsail]

Virtual Private Server (VPS) platform from Amazon Web Services

Filter by
Sorted by
Tagged with
0
votes
0answers
48 views

Server crash after any wordpress function [closed]

Hello everyone I have an error and I hope that someone here will be able to suggest to me what to do. Yesterday I start to use AWS Lightsail and I get server with pre installed WHM and Cpanel and ...
1
vote
1answer
33 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
0
votes
0answers
16 views

Setting up a Django site on Lightsail; http works; https gives a generic Bitnami page; what do my Apache logs mean?

I've just cloned a Django project into a new Lightsail Django instance. Everything works fine if I do python manage.py runserver 0.0.0.0:8000. I'm trying to configure Apache. After some debugging, I'...
1
vote
1answer
29 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 ...
0
votes
0answers
14 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
1answer
61 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 ...
-2
votes
1answer
44 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
0answers
24 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 ...
0
votes
0answers
22 views

How can I automate the importing of txt files to a MySql database?

I'm running a database on AWS Lightsail and I have a bunch of .txt files I want to import into the database. I can't merge the files because I want to create one table per text file (table name = txt ...
1
vote
1answer
37 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
1answer
108 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
1answer
58 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
1answer
45 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
0answers
126 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
0answers
45 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 ...
1
vote
0answers
41 views

The last configuration of aws lightsail's cdn should be where to add xxxxcloudfront.net?

My domain is purchased from godaddy, I have copied the Dns record in lightsail to godaddy, so I can't create cname and a record in godaddy. Now I have 4 records in AWS DNS ZONE A rerord @.domain to my ...
0
votes
0answers
342 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
2answers
111 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
1answer
27 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
0answers
27 views

Double // and triple /// in image urls,

I'm running an opencart website and I've noticed my images are loading in rather slowly. I copied the direct image link from the page and I've noticed something strange is going on. A sample of an ...
0
votes
0answers
241 views

AWS Lightsail running slow with 6s time to first byte

I recently spun up an AWS Lightsail Ubuntu instance to install Cachet with following specs: 1 Core vCPU 1GB RAM 40GB SSD 2TB Transfer I've installed and configured Cachet (which is a very ...
0
votes
1answer
121 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 ...
0
votes
0answers
60 views

Incorrect public IP Address after upgrading AWS Lightsail (Plesk) snapshot to another Lightsail Plesk instance

I am trying to upgrade my hosting from the 1GB RAM to the 2GB RAM instance from an existing Plesk Lightsail snapshot to another Plesk instance. I was able to create a larger instance and load the ...
0
votes
0answers
66 views

Stop and disable current firewall in Lightsail instances

I'm running Amazon Linux 2, on Lightsail instances in AWS and would like to install iptables in it. There's a similar question but focused in EC2 instances. According to the documentation, Each ...
0
votes
0answers
17 views

How long should Sysprep take on AWS Lightsail?

As you may imagine, this is not an idle question. "A few minutes", is what the documentation says, but for my 16 GB RAM, 4 vCPUs, 320 GB SSD instance we're now at 1 hour. I have several ...
3
votes
1answer
338 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
0answers
201 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
0answers
75 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
0answers
15 views

Why is the AWS Lightsail snapshot missing a document in the MongoDB database?

I run a NodeJS web application on AWS with snapshots at 8am GMT+1. Two days ago at 11pm, one user submitted information that became a document in the MongoDB database. That document appears in ...
0
votes
1answer
765 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
1answer
112 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
0answers
41 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
1answer
383 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 ...
0
votes
0answers
67 views

Locked out of SSH

While trying to harden my SSH security on ubuntu 18.04, I accidentally added the following line to my sshd_config file: HostKeyAlgorithms ssh-ed25519,ssh-ed25519-cert-v01@openssh.com I then logged ...
1
vote
0answers
405 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
0answers
65 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
1answer
210 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 ...
0
votes
0answers
55 views

Getting a 403 error and not exactly sure why on nginx

I am getting a 403 error in 2020/06/14 06:37:13 [error] 5033#5033: *44826 directory index of "/var/www/attendanceplus.com/" is forbidden, client: 54.149.161.1, server: carestry.com, request: ...
0
votes
0answers
16 views

IAM for restricting specific request values

I would like to make an IAM user which was access to the AWS Lightsail CreateInstances API, but only if they make a request where bundleId is nano_2_0. I am aware of condition keys in AWS, but ...
1
vote
0answers
115 views

AWS LightSail OpenVPN + ASUS RT-3200 - TLS Error: Key negotiation failed

Using https://github.com/angristan/openvpn-install i have installed openvpn on AWS Lightsail Instance (Ubuntu 18.04 LTS). My server config file is as follows: port 33434 proto udp dev tun ...
2
votes
2answers
2k views

Remote Connect to MySql AWS Lightsail

I'm setting up a new server on AWS Lightsail and all is good, but in my LEMP stack, I installed MySql and created my DB. For some reason though I cannot remote into that DB via my DB client (using ...
1
vote
1answer
429 views

Assign a static IP to an instance in Amazon Amplify

I have a static website and would like to get data using AJAX from a third-party API. The third-party API needs to add the server IP address to its whitelist to allow me to get the data. For this ...
1
vote
1answer
358 views

Can I have a SSL cert for a sub-domain in Lightsail if I already have a cert for the main domain in certificate manager?

In AWS I have a domain (lets call it www.mydomain.com) which I have a SSL cert in certificate manager and the DNS records in Route 53. In AWS Lightsail I have an instance with a loadbalancer and ...
1
vote
1answer
81 views

Setting up S3 to host 'wp-content' folder

If this is not the right SE to post the question, please kindly direct me to the right one. I've seen configuration of setting up S3 to host wp-content folder, what are the advantages of doing so? ...
0
votes
1answer
415 views

Is it possible to generate a new SSH Key pair for an existing instance?

Setup: Bitnami Wordpress Lightsail Stack Is it possible to generate a new SSH key pair for an existing instance? What are the steps to generate a new SSH key pair for an existing instance (without ...
0
votes
1answer
1k views

AWS Lightsail Bitnami Wordpress Instance with MySql

I am used to shared hosting with a cpanel. I have just started learning VPC and can't seem to wrap my head around how lightsail Bitnami Wordpress (the one-click installation) instance work. MySql ...
1
vote
2answers
127 views

How to retrieve login credentials of an instance that was created from a snapshot?

Configuration: AWS Lightsail (Wordpress) Background Issue: I lost the SSH key pair of an instance Steps Taken: I created a snapshot of the instance I created a New instance from the snapshot ...
1
vote
1answer
105 views

What is the recommended way to configure DNS?

Not sure if this is the right SE to ask the question, if not please kindly direct me to the right SE. Brief background: I am learning VPC and started with AWS lightsail(wordpress). I just realised ...
1
vote
2answers
923 views

How do I allow ICMP to Lightsail Instance?

I have a Lightsail instance running CentOS 7 and I would like to allow pinging to the instance from the outside. I couldn't find anything in the instance firewall settings. I have tried running the ...
0
votes
1answer
2k views

Getting error in curl command(curl: (35) error reading X.509 potentially-encrypted key file: Error in parsing.)

I am using below command curl --insecure --cert 'cert.p12:password' -X GET https://serverUrl -H 'Content-Type: application/json' curl --insecure --cert-type P12 --cert 'cert.p12:password' ...