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
4
votes
2 answers

How to whitelist IP addresses on Amazon Lightsail

I used Amazon Lightsail to deploy a wordpress site and it worked like a charm. Now I have the need to restrict the IP addresses that can access on port 80 to the ones associated to the Firewall from SiteLock, and I am looking for the best and…
Ing. Luca Stucchi
  • 3,070
  • 6
  • 36
  • 58
3
votes
1 answer

Granting privileges for Importing data to AWS Lightsail MySQL

I have a MySQL database running on AWS Lightsail. I'm trying to import data into MySQL using MySQL Workbench, but see following error: ERROR 1227 (42000) at line 20: Access denied; you need (at least one of) the SUPER, SYSTEM_VARIABLES_ADMIN or…
3
votes
1 answer

How do I add environment variables to a AWS Lightsail Node.js instance?

The Problem I'm dipping my toes into AWS by deploying a simple API built with NestJS. This will be the first app I've deployed to a cloud service. I've already cloned my repository on an AWS Lightsail Linux instance with Node.js and installed all of…
3
votes
1 answer

Cannot connect to MySQL on lightsail from lambda

I have a MySQL server on a lightsail instance. The goal is to access the MySQL server from a lambda function. What I did is as follows. Turn on VPC peering of lightsail Create a MySQL user with '%' host Add the following policies to the lambda…
nemy
  • 519
  • 5
  • 16
3
votes
2 answers

is it possible to migrate AWS EC2 instance to AWS Lightsail

I need to move a couple of EC2 instances to Lightsail. There are some ways of exporting Lightsail->EC2 using snapshot image but cannot find any info on how to do it the other way around EC2->Lightsail. Is the migration EC2->Lightsail possible?
3
votes
1 answer

Can Amazon Lightsail run containers built for arm platform?

I'm currently running a web server on Lightsail containers which are built on the x86 platform. Will Lightsail be able to run containers that are built on arm?
3
votes
2 answers

npm start finishes with - FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory

So I am trying to deploy my project to AWS LightSail instance I cloned my repo npm install npm start. And then the Allocation failed Error happened Error: <--- JS stacktrace ---> FATAL ERROR: MarkCompactCollector: young object promotion failed…
3
votes
3 answers

Reset wordpress password on AWS lightsail

I’ve used wp all in one plugin to migrate my site to aws lightsail. However, it also migrated the old credentials which was owned by the previous webhosting company. I’m not able to obtain those credentials. In this case, how can I reset my user and…
Fenzox
  • 334
  • 4
  • 20
3
votes
1 answer

AWS Lightsail - disable direct access to static ip

I have a wordpress website hosted on AWS Lightsail. I added an A record to my DNS pointing my custom domain to the static ip of the Lightsail instance. But, I don't want the website to be accessible via the static ip, only via my custom domain. How…
Uri Klar
  • 3,800
  • 3
  • 37
  • 75
3
votes
1 answer

AWS Lightsail - Static IP not visible in ifconfig

I have created AWS Lightsail instance and attached a public IP address. So Curranty machine has 2 IPs, public and private. the command ifconfig shows only private IP and nowhere in public. Hence I am unable to bind my golang based application to…
Ankur
  • 87
  • 7
3
votes
0 answers

Does a Lightsail launch script only run at new instance initialisation?

When creating a new Ubuntu Lightsail instance and adding a launch script is the script you enter only run when you FIRST initialize the instance and NOT every time you reboot or restart the same instance? I would love to automate updates and install…
MisterO
  • 129
  • 6
3
votes
2 answers

Static files not being served on AWS Lightsail

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…
3
votes
0 answers

Grant access for IAM policy to specific AWS Lightsail resources using tags

I'm trying to create an IAM policy so that the user can access Lightsail but only have access to specified instances. Ideally it would use tags so it's easy to maintain, but specifying individual instances would be fine. I've tried various things,…
Teecoo
  • 33
  • 2
3
votes
1 answer

Is there an process to connect AWS lightsail mongoDB with mongo Compass?

I'm created lightsail instance for MEAN stack web app. So I watched the tutorial, they use rockmongo with GUI login. I created MongoDB database and user to access the database. So I can use it only using the ssh command line. So are there any…
3
votes
1 answer

Wordpress Site complete move from one server to another wordpress

I have a multsite wordpress running on server, i want to shift my site to another server. I downloaded complete file backup by filezilla ftp Also exported complete database. Now i imported this backup to new server(Aws Lightsail) and also replace…