Home › Forums › AWS › AWS Certified Solutions Architect Professional › e-commerce platform(dynamic web) using s3 hosting? › Reply To: e-commerce platform(dynamic web) using s3 hosting?
-
The answer says to store only static content on S3 and enable website hosting so the web site (that the EC2 web server serves) can retrieve that static content from CloudFront -> S3. Login/database CRUD/payment logic will be handled on web server in EC2 (though I would use verbiage other than “web server” for a question like this as web server IMO implies serving web content, not executing application logic). Regardless the 2nd answer to this question addresses the application logic:
Create an Auto Scaling of Amazon EC2 instances spread in two
Availability Zones to host the web servers. Use an Amazon Aurora for
MySQL with Multi-AZ enabled as the database.