You are required to create a basic application with symfony2 framework exposing certain public accessible end points, which will be invoked to run some load test on your code.
1. Create PostgreSQL cluster.
2. Create NoSQL node.
3. Create a Load balancer node with a publicly accessible endpoint.
4. Create symfony2 application exposing the following endpoints:
Purpose: Prepare nodes for load balancer upon receiving GitHub push event.
Purpose: Testing end point where you are required to generate random record with 3 attributes
(first name, last name, age) and insert it into a PostgreSQL DB.
Purpose: Remove a node from the PostgreSQL cluster.
Purpose: Move data currently stored in PostgreSQL in NoSQL engine.
Purpose: Return the count of records stored in NoSQL engine.
Purpose: Dispose-off resources.
The infrastructure should be created in Amazon Web Services (AWS).
Your application will be publicly hosted on GitHub with the web hook configured to dispatch events to your
EC2 public DNS address.
Your application should scale automatically to prevent downtime of test endpoint.
“htop” package should be installed in all EC2 instances.
One publicly accessible SSH end point, while no other machine should be exposed publicly. Mask SSH access with a keyset and use the same for deployment.
PostgreSQL version 9.2.
Webserver should be Nginx.
Your AWS credit limit is U$S 10 max.
Use of Docker.
Use of Chef or Puppet.
aws account details will be given