$ git checkout -b AWS_Compiled_007 $ git commit -a -m 'AWS Developer content and news, curated by AWS' $ git checkout main $ git merge AWS_Compiled_007
This week's Tech Spotlight is on the AWS CLI v2, which was released earlier this year. The AWS CLI is a unified command line tool that make it easy to interact with the AWS services and APIs. This allows you to easily create, modify, or delete resources in your AWS account. When developing version 2, we focused in making it more interactive per our user feedback. This new version has a few new tricks up its sleeve, like being able to auto-complete server-side resources, allowing a developer to quickly interact with resources with tab-completion such as
aws dynamodb update-table —table-name MyTable<TAB>
No more copy pasting resource names or making typos! There are also in-built wizards that you can use when creating resources, instead of copy/pasting in all the parameters,
aws dynamodb wizard new-table
There are wizards available for the configure, dynamodb, iam and lambda commands, and a good place to get started using the AWS CLI would be run the configure wizard to help you set up your credentials. Have a look at the configuration quickstart guide. There are few more features for you to explore and use in your daily workflow, we recommend you take a look at this video from last year’s re:Invent session.
Amazon EC2 Metadata API v2
Not everyone is familiar with the metadata API available on each EC2 instance via `http://169.254.169.254/`. This API contains details about the EC2 instance, from the AMI that was used to launch it, the IAM role and even the user data values. This allows for interesting workflows where you read the data after launching the instance to make decisions, like bringing up 4 instances with a single CLI command and using the ami-launch-index value to have the first instance be the primary DB instance, with the 3 subsequent ones be replicas, but with different replication interval. Dig into this example for more details.
This tech talk shows you how to get the best of “Infrastructure as Code” through AWS Cloud Development Kit (CDK) that works seamlessly with the Amplify Client Libraries. With this powerful combination, developers can create clients with Amplify and use the CDK to integrate with existing CI/CD pipelines transparently, you have full control over all aspects of the application making changes easy to implement and manage.
FROM THE COMMUNITY
HANDS ON TUTORIALS
Getting started with Travis-CI.com on AWS Graviton2
Learn how to get started building, testing, and deploying quickly through Travis-CI.com on Graviton2.
Managing AWS Organizations using the open source org-formation tool
In this three-part series, the creator of the open source tool org-formation explains how to manage AWS Organizations resources using infrastructure as code, how to integrate management of resources across accounts using task files, and how to deploy CloudFormation resources to multiple accounts using Organization Bindings.
Using the K3s Kubernetes distribution in an Amazon EKS CI/CD pipeline
We explore how to add unit and integration testing to an Amazon EKS CI/CD pipeline, using the open source, lightweight K3s Kubernetes distribution.
AWS SSO credential profile support in the AWS Toolkit for JetBrains IDEs
With this new release of the AWS Toolkit for JetBrains, customers can use federated credentials, MFA and AWS Single Sign-On (AWS SSO) to connect their IDEs to AWS. Using AWS SSO, your organization's users can sign in to Active Directory, a built-in AWS SSO directory, or another external identity provider (IdP) connected to AWS SSO and get mapped to an AWS Identity and Access Management (IAM) role.
The waiters feature in the AWS SDK for Java 2.x
The waiters feature in the AWS SDK for Java 2.x is an abstraction that enables you to validate that AWS resources, such as DynamoDB tables or Amazon S3 buckets, are in a specified state before performing operations on those resources.
AWS CodePipeline now Supports git clone for Source Actions
AWS CodePipeline Source Actions for GitHub.com, GitHub Enterprise Server, and Bitbucket.org now support cloning of your git repositories. With the new feature, when you create a connection to an external source provider in the Source Action, CodePipeline will clone the git repository to fetch the commit history and metadata.