Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Erika Heidi, thank you very much. Finally, i found relevant information on this topic.
I hadn’t seen acronym “LEMP” yet, or a guide that made me consider using ansible playbooks. thank you. nice article!
Thanks for this. Is it possible to update the script for idempotency? Running the script 2nd time encountered an exception
TASK [Sets the root password] **************************************************************************************************************************************************** [WARNING]: Module did not set no_log for update_password fatal: [vagrant-temp]: FAILED! => {“changed”: false, “msg”: “unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. Exception message: (1045, "Access denied for user ‘root’@‘localhost’ (using password: NO)")”}
PLAY RECAP *********************************************************************************************************************************************************************** vagrant-temp : ok=6 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
this is a great article indeed, and seeing the playbook succeeded put my hopes high - however, when I accessed info.php, I got a 502. Turns out, a specific version pf php-fpm is set in the Jinja template (7.2, mine is 7.4) for some reason:
**2021/04/20 22:05:35 [crit] 22247#22247: *1 connect() to unix:/var/run/php/php7.2-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 71.232.100.140, server: your_domain, request: “GET /info.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.2-fpm.sock:”, host: “ec2-XX-XXX-XX-XX.compute-1.amazonaws.com” **
so that was easy to fix