Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alenatovstukha authored Dec 19, 2024
1 parent 948ca16 commit 2bde4d5
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,49 @@
# AWS Essentials: estimate costs
# AWS Essentials: Estimate Costs

One of main benefits of the cloud is it's cost effectiveness, that's why it's important to learn how to estimate cloud costs. In this task you will work with AWS pricing calculator to estimate the cost of the Grafana deployment you will be working on over the module.
One of the main benefits of the cloud is its cost-effectiveness; that's why learning how to estimate cloud costs is essential. In this task, you will work with an AWS pricing calculator to calculate the price of the Grafana deployment you will be working on over the module.

## Prerequirements

Before completing any task in the module, make sure that you followed all the steps described in the **Environment Setup** topic, in particular:

1. Make sure you have an [AWS](https://aws.amazon.com/free/) account.

2. Install [aws cli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
2. Install [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html).

3. Install [powershell core](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7.4)
3. Install [PowerShell Core](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7.4).

4. Install [terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli)
4. Install [Terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli).

5. Log in to AWS CLI on your computer by running the command:

5. Log in to aws cli on your computer by running command:
```
aws configure
```
## Task requirements
## Task Requirements
Your Grafana deployment will consist of the following resources:
- EC2 virtual machine: we will go with 1 t2.micro running Linux;
- For the EC2 we wil need a VPC and 1 Public IP;
- We will also use some S3 storage (**S3 Standard storage**) for Grafana database backups. We will need around 10GB of space, we will do a nigtly upload of DB backups and we will clean up the old backups when we will run out of planned storage space;
- All resources will be deployed to 'eu-central-1' region;
- We will use on-demand pricing witout any reservations;
- EC2 virtual machine: we will go with one *t2.micro* running Linux.
- For the EC2, we will need a VPC and one Public IP.
- We will also use some S3 storage (**S3 Standard Storage**) for Grafana database backups. We will need around 10GB of space. We will do a nightly upload of DB backups and clean up the old backups when we run out of planned storage space.
- All resources will be deployed to the *eu-central-1* region.
- We will use on-demand pricing without any reservations.
To complete this task, you will need to perform the following steps:
1. Use [AWS pricing calculator](https://calculator.aws/) to calculate our cloud infra costs.
2. Export results in JSON format: save it to file, called `estimate.json` in this repository.
2. Export results in JSON format: save it to a file called `estimate.json` in this repository.
3. Run automated test to check yourself.
3. Run an automated test to check yourself:
```
pwsh ./tests/test-estimate.ps1
```
If any test fails - please check your estimate and try again.
4. Commit the `estimate.json`, and submit your solution for a review
If any test fails, please check your estimate and try again.
4. Commit the `estimate.json`, and submit your solution for review.
| :memo: |Don't be worried about the total cost of infra: if you are using AWS free account - you will get all those resources for free |
|---------------|:--------------------------------------------------------------------------------------------------------------------------------|
💡 Don't be worried about the total cost of infra: if you are using an AWS free account — you will get all those resources for free.

0 comments on commit 2bde4d5

Please sign in to comment.