Vue lecture

Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.

Delete associated EBS snapshots automatically when deregistering an AMI in AWS EC2

AWS now allows automatic deletion of associated Amazon EBS snapshots when deregistering EC2 AMIs, reducing storage costs and simplifying cleanup. Previously, snapshots had to be manually deleted, risking orphaned resources. This feature is long overdue. In a previous post, I introduced a Bash script that deleted the snapshot when an AMI was deregistered. The script should still work, but now you can automatically delete snapshots in the AWS Console and the AWS CLI.

Source

Mount an S3 bucket on an EC2 instance at boot using fstab with Mountpoint for Amazon S3 or s3fs-fuse

Mountpoint for Amazon S3 (mountpoint-s3) now allows you to mount an S3 bucket in AWS at EC2 instance boot time via fstab. However, it remains non-POSIX compliant, so standard filesystem operations like deleting or renaming files still do not work. In contrast, the open-source alternative s3fs-fuse offers substantial POSIX support but comes with its own drawbacks.

Source

Create an Amazon Bedrock Agent: A simple Lambda function example

Creating an AI agent in Amazon Bedrock involves a relatively complex process. The example in this post has been simplified for clarity. Once you have your first Agent setup working, exploring all the features that AI agents in AWS offer becomes much easier. The Bedrock Agent I discuss uses a Lambda function, which can be triggered by the AI model when the user prompt indicates its usefulness. An AWS Lambda function is a serverless compute service that runs your code in response to events without provisioning or managing servers. These functions may involve complex logic, enabling the AI agent to perform sophisticated tasks autonomously.

Source

❌