If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Moving away from LAMP stack into cloud?

Started by beingchinmay, Jun 28, 2022, 01:59 AM

Previous topic - Next topic

beingchinmayTopic starter

hi everyone,

I hope I'm posting this question in the appropriate section. Our website has been operating on the LAMP stack (PHP+MySQL) similar to WordPress for over a decade. However, as we approach upgrade projects, we're considering moving to the cloud. We are unsure of what to do there and how we should proceed.

The obvious solution would be to use a VM type like Amazon Lightsail and install LAMP once more. But, should we be doing more? Is hosting our files in storage and utilizing a distributed MySQL database in the cloud the way forward? While this approach could result in the loss of flexibility and control, is it the design of the future? It's important to us that we maintain low and stable costs.

Thank you, and we would appreciate hearing from anyone with experience transitioning away from LAMP.
  •  

Mycrib

To begin with, I recommend that you receive training on Cloud technology. Additionally, can you please specify the content management system (CMS) you are employing?

If you want to get started with cloud hosting, my suggestion would be to opt for a managed cloud hosting platform. This decision will simplify your life by giving you the ability to install the LAMP stack in just a few clicks while providing greater scalability and security. Please share your thoughts on this.

Afterward, I can provide guidance tailored to your needs.
  •  

kaufenpreis

Cloud solutions cannot always ensure flawless fail-over, that's a fact. Both cloud and non-cloud providers may experience outages.
 For instance, even a well-established cloud provider recently underwent downtime that impacted its services across several regions despite only one region being affected.
  •  

fix.97

The LAMP stack is a collection of programs that facilitate the serving of dynamic pages and PHP-written applications. Each letter stands for a separate program: L-Linux, E-Engine-X, M-MySQL, P-PHP.

To verify Nginx's ability to correctly transfer .php files to your PHP processor, it's necessary to confirm the operation of your LAMP stack. To start this process, open a new file such as "info.php" in any text editor:

nano /var/www/your_domain/info.php

Next, type in the following lines of valid PHP code that return information about your server. After inputting the code, save and close the file. If you are using nano, press "CTRL+X," and then "ENTER" to confirm.

Now, to gain access to the server, connect through a browser utilizing the domain or IP address:

http://server_domain_or_IP_address/info.php

Once the relevant information is available on the page, delete the created file since it contains confidential information. You can accomplish this by typing the command:

sudo rm /var/www/your_domain/info.php

You can always restore the file later if necessary.
  •  


If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...