Do you get charged for a 'stopped' instance on EC2? [closed]
2022-02-14
Question Closed. This question is off-topic. It is not currently accepting answers. </div> Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 years ago. Improve this question </a> Bit confused here, I have an on-demand instance but do I get charged even when I stop the instance? Answer No. You get charged for: Online time Storage space (assumably you store the image on S3 [EBS]) Elastic IP addresses Bandwidth So.…
Download an already uploaded Lambda function
2022-02-14
Question I created a lambda function in AWS (Python) using "upload .zip" I lost those files and I need to make some changes, is there is any way to download that .zip? Answer Yes! Navigate over to your lambda function settings and on the top right you will have a button called "Actions". In the drop down menu select "export" and in the popup click "Download deployment package" and the function will download in a .…
Downloading an entire S3 bucket?
2022-02-14
Question I noticed that there does not seem to be an option to download an entire s3 bucket from the AWS Management Console. Is there an easy way to grab everything in one of my buckets? I was thinking about making the root folder public, using wget to grab it all, and then making it private again but I don't know if there's an easier way. Answer AWS CLI See the "…
EC2 instance has no public DNS [closed]
2022-02-14
Question Closed. This question is not about programming or software development. It is not currently accepting answers. </div> This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered. Closed 3 months ago.…
Email address is not verified (AWS SES)
2022-02-14
Question I want to use Amazon's Simple Email Service to send emails. I verified my domain as well as the email address I want to send from. For both it says verified. Now when I use the Send Test Email from the AWS Console to send a test email to myemail@outlook.com, I only get the error message: Email address is not verified. The following identities failed the check in region EU-WEST-1: myemail@outlook.…
How do you add swap to an EC2 instance?
2022-02-14
Question I'm currently running an ec2 micro instance and i've been finding that the instance occasionally runs out of memory. Other than using a larger instance size, what else can be done? Answer A fix for this problem is to add swap (i.e. paging) space to the instance. Paging works by creating an area on your hard drive and using it for extra memory, this memory is much slower than normal memory however much more of it is available.…
How to choose an AWS profile when using boto3 to connect to CloudFront
2022-02-14
Question I am using the Boto 3 python library, and want to connect to AWS CloudFront. I need to specify the correct AWS Profile (AWS Credentials), but looking at the official documentation, I see no way to specify it. I am initializing the client using the code: client = boto3.client('cloudfront') However, this results in it using the default profile to connect. I couldn't find a method where I can specify which profile to use.…