ersilia-os / aws-utils

Utility scripts to interact with AWS
GNU General Public License v3.0
0 stars 0 forks source link

AWS CloudWatch Alerts #1

Closed GemmaTuron closed 1 week ago

GemmaTuron commented 1 month ago

Create an alert for the different AWS services we will be using. Let's start at a 20 USD cap per service and we will change it when we get into production

sucksido commented 1 month ago

Hi @GemmaTuron , I dont seem to have access to Billing and Cost Management:

image

We might need to add the following:

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "budgets:ViewBudget", "budgets:CreateBudget", "budgets:ModifyBudget" ], "Resource": "*" }, { "Effect": "Allow", "Action": "SNS:Publish", "Resource": "*" } ] }

GemmaTuron commented 1 month ago

seems it does not like the create budgets: The action budgets:CreateBudget does not exist

sucksido commented 1 month ago

we can try this instead: budgets:CreateBudgetAction

GemmaTuron commented 1 month ago

done!