You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,4 +28,23 @@ You are expected to provide step-by-step instructions for creating and configuri
28
28
Then the RDS database supporting multi availability zones is created in a private subnet to only allow data access from the EC2 instances within the security group.
29
29
Http requests a forwarded from the Internet Gateway to the EC2 instances which can access the data from the RDS database and send the response via Internet Gateway to the client.
30
30
31
-
<br />The manual steps to achieve the same result using the AWS management console are documented [here](https://github.com/huyphamch/terraform-aws-create-web-rds/blob/master/manual/Project1.pdf)
31
+
<br />The manual steps to achieve the same result using the AWS management console are documented [here](https://github.com/huyphamch/terraform-aws-create-web-rds/blob/master/manual/Project1.pdf)
32
+
33
+
## Prerequisites
34
+
<br /> You have access to AWS services, for example via Free tier AWS account.
35
+
<br /> AWS CLI and Terraform are already installed.
36
+
37
+
## Usage
38
+
<br /> 1. Open terminal
39
+
<br /> 2. Before you can execute the terraform script, your need to configure your aws environment first.
40
+
<br /> aws configure
41
+
<br /> AWS Access Key ID: See IAM > Security credentials > Access keys > Create access key
42
+
<br /> AWS Secret Access Key: See IAM > Security credentials > Access keys > Create access key
43
+
<br /> Default region name: us-east-1
44
+
<br /> Default output format: json
45
+
<br /> 3. Now you can apply the terraform changes.
46
+
<br /> terraform init
47
+
<br /> terraform apply --auto-approve
48
+
<br /> Result: Calling the URL from the web browser should display the static web page
49
+
<br /> 4. At the end you can cleanup the created AWS resources.
0 commit comments