How to deal with aws charge generation

Asked 2 years ago, Updated 2 years ago, 41 views

I am currently studying rails, and I started using aws, but when I realized that there was a fee and I don't know what to do, so I would like to ask you a question.

Looking at the billing information,

EC2 $29.60
RDS $3.11
DataTransfer $0
S3$0
Tax $2.61

So the forecast by the end of the month is $98.28.

While practicing, I tried various settings and wanted to deploy rails, so I made some instances.
Around the beginning of this month, several ec2 and rds instances remained standing up, so I hurriedly deleted them and stopped them.I think it was about $10 at that time, but since then I haven't used aws at all, but the price has increased.

In this case, how can I reduce the price?

For your information,
EC2 resources:

0 running instances
0 Dedicated Host
US>8 Volumes
6 keypairs 0 placement groups
Two Elastic IPs 0 snapshots Three load balancers 18 security groups

RDS resources:

DB Instance (3/40)
Storage allocation (60.00 GB / 100.00 TB)
Click here to raise the DB instance limit
Reserved Instance (0/40)
Snapshots (41) Manual (2/100) Automatic(23)
Recent Events (12)
Event Subscription (0/20)
Parameter Group (3)
Default (1)
Custom (2/100) Option Group (1)
Default (1)
Custom (0/20)
Subnet Group (4/50)
Supported Platforms VPCs
Default Network vpc-1529db72

appears.

I would like to deploy one of the applications that I made with rails from now on, but I'm afraid of charging.I'd like to know how to reduce the price, so please take care of me.

aws

2022-09-30 17:12

4 Answers

I understand that the EC2/RDS instance has been deleted, so I think 3 ELBs will probably be charged less than $60/month, and EBS volume and EIP will be charged.First, check the Invoice page to see the invoice details.

I would like to make the invoice cheaper, but

  • EC2 instance: Stop or erase when you're done.
  • RDS instance—Delete it when it is finished and leave a final backup.Restore when using again (it's quite troublesome, so it's recommended to script the instructions are scripted).
  • ELB: Turn it off when you're done using it
  • EBS Volume: Remove unnecessary volumes, create at least the minimum required capacity (if not enough, you can expand later)
  • EIP: If you keep it unused, you will be charged a little, so if you don't want to change the global IP, turn it off when you're done using it.

Also, there is a free 12-month slot, but each has its own requirements, so I recommend that you check the contents carefully.
Note: https://aws.amazon.com/jp/free/

If you find it troublesome to create or delete it, I recommend that you script it with SDK or CLI or template it with CloudFormer.


2022-09-30 17:12

I don't know if this case applies to this but
AWS estimates are calculated roughly, and if there is a process that costs money at the beginning of the month, it seems to be calculated relatively more.(I have inquired because the forecast is higher than my calculation.)However, I don't know if it's rough or not, so I think you have to be careful.)

I think this document will be helpful.
https://aws.amazon.com/premiumsupport/knowledge-center/high-aws-cost-forecast/
https://docs.aws.amazon.com/ja_jp/awsaccountbilling/latest/aboutv2/cost-forecast.html

As for predictions, you tend to do so, but now you can calculate it yourself, and I don't think it's a good idea to use it systematically.


2022-09-30 17:12

In the future, you may forget to erase the instance you started for testing.
One of the countermeasures is to notify you by e-mail when the invoice amount exceeds a certain value.


2022-09-30 17:12

There is no point in writing down the current situation that has been stopped in a hurry, and you will be checking the breakdown of EC2 $29.60.In other words, after checking the size, number of instances, and uptime, I think it's about how much you're going to run in the future.


2022-09-30 17:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.