AWS IAM policy to restrict access to c7g.large instance only – Amazon web services
How do I write a poilicy to have full access to a single c7g.large ec2 instance and restrict the rest of the instances?
How do I write a poilicy to have full access to a single c7g.large ec2 instance and restrict the rest of the instances?
I am creating a VPC using terraform VPC module, and trying to give the subnets names that make sense like: data-vpc-private-subnet-a, the "a" represents the availability zone that the subnet is located in. but I am not sure how to…
While training a model on AWS Sagemaker(let us assume training takes 15 hours or more). If our laptop lose internet connection in between, the Kernal on which it is training will die. But the model continues to train (I confirmed…
I'd like to host an app that uses a database connection in an AWS Nitro enclave. I understand that the Nitro enclave doesn't have access to a network or persistent storage, and the only way that it can communicate with…
I was trying to get a notification, it doesn't matter how as though via email, sms, etc. The notification shouldn't be for state-changes only, which I have already done. Instead, I'd like to be notified when a EIP is disassociated,…
I´m trying to do the following: when I upload a file in my s3 storage, the lambda picks this json file and converts it into a csv file. How can I specify in the lambda code which file must pick?…
I have a lambda function that I wanted to run everyday at sunset. I tried using eventbridge to trigger it every day and then used time.sleep() to wait until sunset, but it turns out lambda functions timeout after at most…
I'm trying to trigger several lambdas in parallel from another lambda. I'm using aiobotocore and this works fine locally but when I try to run it on AWSLambda, I have an error on the import modules: Unable to import module…
I have this problem if I install serverless framework using npm install -g serverless I encounter this message in Chinese on my computer (windows 11). once I ran serverless on the terminal I get this message C:UsersUser>serverless 当前未检测到 Serverless 项目,是否希望新建一个项目?…
I query 'product' on one of my screens using the following function const getProduct = async () => { try{ if(userId){ await DataStore.query(Product, c=>c.userID("eq", userId)).then(setProducts) } }catch(e){ return } }; But what I want is to display something like an…