Link to home
Start Free TrialLog in
Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on

Could you point a good (didactic) material preferencialy that you know about AWS web service creation by using PHP?

Hi Experts!

Could you point a good (didactic) material preferencialy that you know about AWS web service creation by using PHP?

Thanks in advance
Avatar of Aaron Street
Aaron Street
Flag of United Kingdom of Great Britain and Northern Ireland image

Why do you need to use PHP? Something like Terraform (https://www.terraform.io/) has been developed for provisioning AWS, you can use it in PHP scripts easily and it will remove a lot of the grunt work for you. Its free and uses the AMAZON CLI API for its intergration with AWS.

You can do provisioning directly in PHP but honestly I wouldnt consider doing so the time to develope that would be wasted in my opnium when a tool like Terrafrom already exists.

Or are you looking for more intergrating PHP code with AWS services such as using IAM Role based Authention during code execuatation?

Maybe a bit more info on what you want to achive and the scope of it would help you get an answer to your request.
Avatar of Eduardo Fuerte

ASKER

Hi

PHP is a company's project imposition, not up to me to choose.

I'm going to follow your suggestion on Terraform.

Or are you looking for more intergrating PHP code with AWS services such as using IAM Role based Authention during code execuatation?

Something in this line but I don´t have the details by now....
ASKER CERTIFIED SOLUTION
Avatar of Aaron Street
Aaron Street
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you for the replies.

Just an overview on what will be needed.

User generated image
Any other orientation based on this schemes?

(It looks very complex)...
You asked for AWS + PHP (moral instruction). A peculiar question.

AWS is simply an slow + expensive version of Linux.

PHP is... well... PHP...

So simply search for courses about Linux or PHP.

Nothing special about AWS or PHP running on AWS.
Eduardo,

What Aaron has suggested is fantastic for your requirements.  

I've only set up very simple EC2 instances on AWS serving up PHP pages, mainly for testing web apps and for low scale projects.  No thought really given to the infrastructure (as opposed to what Aaron's given you).

My suggestion is to just sign up to AWS and explore setting up an EC2 instance.  This tutorial has been so useful for me: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html.  Just be sure to go through Step 1 and Step 2 as a prerequisite
Step 1 - Getting set up for EC2: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/get-set-up-for-amazon-ec2.html
Step 2 - How to launch an EC2 Instance: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html#ec2-launch-instance
@ David,

A slow version of Linux?

Not sure what you mean by that, AWS (Amazon web services) is nothing to do with Linux apart from you can run Linux instances on it. but you can also run windows and loads of server-less infrastructure.
I agree, Linux runs fast enough on my instance... I suspect if it's slow it could be for a number of reasons that Aaron has outlined above, ie the infrastructure doesn't match the requirements of the system.
Hi

Sorry the delay - still studying what you posted!
Thanks for the help and guidance!

I'm still getting concepts about these subjects and then probably will return back with more specific questions later.
Linux == Fast.

AWS infrastructure == Slow (as they use heavy VM tech to implement AWS/EC2).
Linx is as fast as what it runs on and VMware these days only gives a 2-3% preformace hit.

Running both large Datacenters and AWS both can be fast or slow. We run DB in RDS in AWS and cost for cost they outpreform physical servers in the datecetners by a hughe margin.

Saying AWS is slow is completly missing the point of AWS, for the very minor preformace hit you get running linux on virtual (and running it in a dataneter on VM would be the same as running in AWS. the benifits way outwigh the cons.

Plus the fact we can deploy 1,000 of servers with a single click due to terrafrom and its cheap all adds up.

Linux is neither slow nor fast it is all dependent on what it is running on.

Linux on AWS is fast enough for 95% of user cases. and designed and implemented well its TCO if much better.