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

scopegranites

The cloud offers scalability and flexibility, but you should consider cloud-native architectures beyond LAMP. Explore managed services like Amazon RDS for MySQL, S3 for storage, and serverless options like AWS Lambda for cost-efficiency instead of just using VMs. Performance and stability can be maintained while these services reduce management overhead. For future-proofing your website, cloud infrastructure offers better resilience and scalability.



Post Merge: Dec 04, 2024, 07:43 AM


Cloud-native services like managed databases (like Amazon RDS) and object storage (like Amazon S3) are great alternatives to LAMP stacks. Explore serverless options like AWS Lambda to reduce management overhead and improve scalability instead of replicating your LAMP setup on a VM. The benefit of this approach is that it lowers costs and gives you more flexibility. Choosing the right cloud architecture depends on your performance, control, and long-term growth needs.
  •  


scopegranites

Migrating from a LAMP stack to the cloud involves moving your apps and databases to Amazon Web Services, Azure, or Google Cloud. It's more flexible, scalable, and cost-effective. Managed databases, serverless functions, and storage solutions are all cloud-native services that you'll need to adjust your architecture for. Optimize cloud environments for data migration, security, and optimization.
  •  

euvrazpolard

Distributed MySQL for a LAMP site is like buying a jet to commute to the corner shop. Your billing will go full rollercoaster, your devops will turn into a hostage situation, and lock-in will own you.
A bare-metal VPS with proper caching crushes that circus for a fraction of the cost.
  •  

Fitfuturegroup

What is changing?
Traditional LAMP applications are often hosted on a single VPS or dedicated server:

Linux → Apache → MySQL → PHP → Application

Cloud architectures can split these components across managed services:

Cloud infrastructure → Load balancer → Application/API → Managed database → Object storage/CDN

For example, a PHP application might still use Linux, PHP and MySQL, but instead of managing everything yourself, you could use managed services for databases, storage, caching, monitoring and scaling.
Why move toward cloud?
- Scalability: Resources can be increased or decreased based on traffic.
- Managed databases: The cloud provider handles backups, patching and much of the database maintenance.
- High availability: Applications can be distributed across multiple servers or availability zones.
- Better deployment: CI/CD pipelines and container platforms can automate application releases.
- Global performance: CDNs and geographically distributed infrastructure can reduce latency.
- Monitoring and security: Cloud platforms provide extensive monitoring, logging and security tools.
Does this mean LAMP is outdated?
Not necessarily. LAMP is still a practical choice for many websites, CMS platforms, small businesses and applications where simplicity and low operating costs are important.

A better way to think about it is:
The industry is not necessarily replacing LAMP with "the cloud." It is moving from self-managed servers toward managed, scalable cloud infrastructure.

You can even run a traditional LAMP application in the cloud. For example, PHP + Apache + MySQL can be hosted on cloud infrastructure while gradually replacing individual components with managed services as the application grows.
  •  


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