Questions regarding AWS billing...

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

I recently started learning how to use aws, and during the s3 practice, I put the access key in the code, pushed it with a git hub, and didn't delete the key for hours, so I was charged about $250 on ec2, which I've never used before... I asked the customer service center because Amazon said it would let it slide for once. But when I entered the ec2 dashboard, 4 security groups were using vpc in the Virginia region, so I don't know how to erase this... (Actually, I don't even know what it is...) All access keys are erased, but if I erase the key, will I not be able to eat any more charges?

aws

2022-09-22 21:38

2 Answers

It's been a while since I used it, so I don't remember it well.

Maybe right click or menu

Stop, stop, and then press terminate

However, it does not disappear immediately, but it disappears after a few hours in the terminate state.

I understand that you can't charge when you're terminated


2022-09-22 21:38

Once the problem is caused by a key leak, there will be no problem if the key is erased. If you are learning, it is good to learn the account management part as well.

Amazon recommends that the root account be used only in emergency situations, and in normal cases, make a sub-account and use it. This is because it is difficult to fix the root account if it is hacked or leaked. In the case of a sub-account, even if it is hacked or leaked, it is enough to delete the account.

As you know, GitHub can also manage and ignore things that should not be leaked, such as the key information.

Finally, security group is to set the security settings once and reuse them. VPC is a service that makes network-related settings. VPC does not pay for subnet settings, route settings, etc There are NAT gateways that are paid (VPN this is probably also a fee) and so on.

Also, you can check what is being charged on the billing page, so please check it out and use it well without any damage or loss from now on.


2022-09-22 21:38

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.