Amazon Q Developer, now usually accessible, consists of previews of latest capabilities to reimagine developer expertise

Amazon Q Developer, now usually accessible, consists of previews of latest capabilities to reimagine developer expertise
Amazon Q Developer, now usually accessible, consists of previews of latest capabilities to reimagine developer expertise


Voiced by Polly

When Amazon Net Providers (AWS) launched Amazon Q Developer as a preview final 12 months, it modified my expertise of interacting with AWS companies and, on the similar time, maximizing the potential of AWS companies every day. Skilled on 17 years of AWS data and expertise, this generative synthetic intelligence (generative AI)–powered assistant helps me construct purposes on AWS, analysis greatest practices, carry out troubleshooting, and resolve errors.

As we speak, we’re asserting the final availability of Amazon Q Developer. With this announcement, we’re sharing some updates and previewing further capabilities. Let’s get began.

Amazon Q Developer has data of your AWS account assets (preview)
This new functionality, launching in preview, helps you perceive and handle your cloud infrastructure on AWS. With this functionality, you may record and describe your AWS assets utilizing pure language prompts, minimizing friction in navigating the AWS Administration Console and compiling all data from documentation pages.

To get began, you may navigate to the AWS Management Console and choose the Amazon Q Developer icon.

With this functionality, I can ask Amazon Q Developer to record all of my AWS assets. For instance, if I ask Amazon Q Developer, “Listing all of my Lambda capabilities,” Amazon Q Developer returns the response with a set of my AWS Lambda capabilities as requested, in addition to deep hyperlinks so I can navigate to every useful resource simply.

Immediate so that you can attempt: Listing all of my Lambda capabilities.

I may record my assets residing in different AWS Areas with out having to navigate via the AWS Administration Console.

Immediate so that you can attempt: Listing my Lambda capabilities within the Singapore Area.

Not solely that, this functionality may generate AWS Command Line Interface (AWS CLI) instructions so I could make adjustments instantly. Right here, I ask Amazon Q Developer to vary the timeout configuration for my Lambda perform.

Immediate so that you can attempt: Change the timeout for Lambda perform <NAME of AWS LAMBDA FUNCTION> within the Singapore Area to 10 seconds.

I can see Amazon Q Developer generated an AWS CLI command for me to carry out the motion. Subsequent, I can copy and paste the command into my terminal to carry out the change.

$> aws lambda update-function-configuration --function-name <AWS_LAMBDA_FUNCTION_NAME> --region ap-southeast-1 --timeout 10
{
    "FunctionName": "<AWS_LAMBDA_FUNCTION_NAME>",
    "FunctionArn": "arn:aws:lambda:ap-southeast-1:<ACCOUNT_ID>:perform:<AWS_LAMBDA_FUNCTION_NAME>",
    "Runtime": "python3.8",
    "Function": "arn:aws:iam::<ACCOUNT_ID>:position/service-role/-role-1o58f7qb",
    "Handler": "lambda_function.lambda_handler",
    "CodeSize": 399,
    "Description": "",
    "Timeout": 10,
...
<truncated for brevity> }

What I actually like about this functionality is that it minimizes the effort and time wanted to get my account data within the AWS Administration Console and generate AWS CLI instructions so I can instantly implement any adjustments that I want. This helps me give attention to my workflow to handle my AWS assets.

Amazon Q Developer can now show you how to perceive your prices (preview)
To totally maximize the worth of cloud spend, I have to have a radical understanding of my cloud prices. With this functionality, I can get solutions to AWS cost-related questions utilizing pure language. This functionality works by retrieving and analyzing value information from AWS Cost Explorer.

Within the following instance, I can ask Amazon Q Developer the highest three highest-cost companies in Q1 this 12 months.

Immediate so that you can attempt: What have been the highest three highest-cost companies in Q1?

From the Amazon Q response, I can validate and additional examine this end result by deciding on the Visualize this information in AWS Price Explorer, which is able to deliver me to the AWS Price Explorer dashboard. Then, I can comply with up with this immediate:

Immediate so that you can attempt: Listing companies in my account which elevated essentially the most from February to March.

Briefly, this functionality makes it simpler for me to develop a deep understanding and get useful insights into my cloud spending.

Amazon Q extension for IDEs
As a part of the replace, we additionally launched an Amazon Q built-in improvement atmosphere (IDE) extension for Visual Studio Code and JetBrains IDEs. Now, you will notice two extensions within the IDE marketplaces: (1) Amazon Q and (2) AWS Toolkit.

Amazon Q extension image

For those who’re a brand new person, after putting in the Amazon Q extension, you will notice a sign-in web page within the IDE with two choices: utilizing AWS Builder ID or single sign-on. You’ll be able to proceed to make use of Amazon Q usually.

For current customers, you will have to replace the AWS Toolkit extension in your IDEs. When you’ve completed the replace, you probably have current Amazon Q and Amazon CodeWhisperer connections, even when they’re expired, the brand new Amazon Q extension will probably be mechanically put in for you.

For those who’re utilizing Visible Studio 2022, you should utilize Amazon Q Developer as a part of the AWS Toolkit for Visual Studio 2022 extension.

Free entry for superior capabilities in IDE
As you would possibly know, you should utilize AWS Builder ID to start out utilizing Amazon Q Developer in your most popular IDEs. Now, with this announcement, you could have free entry to 2 current superior capabilities of Amazon Q Developer in IDE, Amazon Q Developer Agent for software development and Amazon Q Developer Agent for code transformation. I’m actually enthusiastic about this replace!

With the Amazon Q Developer Agent for software program improvement, Amazon Q Developer will help you develop code options for initiatives in your IDE. To get began, you enter /dev within the Amazon Q Developer chat panel. My colleague Séb shared with me the next screenshot when he was utilizing this functionality for his help case venture. He used the next immediate to generate an implementation plan for creating a brand new API in AWS Lambda:

Immediate so that you can attempt: Add an API to record all help instances. Expose this API as a brand new Lambda perform

Amazon Q Developer then supplies an preliminary plan and you may carry on iterating this plan till you’re certain largely the whole lot is roofed. Then, you may settle for the plan and choose Insert code.

The opposite functionality you may entry utilizing AWS Builder ID is Developer Agent for code transformation. This functionality will show you how to in upgrading your Java purposes in IntelliJ or Visible Studio Code. Danilo described this functionality final 12 months, and you may see his thorough journey in Upgrade your Java applications with Amazon Q Code Transformation (preview).

Enhancements in Amazon Q Developer Agent for Code Transformation
The brand new transformation plan supplies particulars particular to my purposes to assist me perceive the general improve course of. To get began, I enter /remodel within the Amazon Q Developer chat and supply the required particulars for Amazon Q to start out upgrading my java venture.

In step one, Amazon Q identifies and supplies particulars on the Java Growth Equipment (JDK) model, dependencies, and associated code that must be up to date. The dependencies upgrades now embrace upgrading standard frameworks to their newest main variations. For instance, if you happen to’re constructing with Spring Boot, it now will get upgraded to model 3 as a part of the Java 17 improve.

On this step, if Amazon Q identifies any deprecated code that Java language specs advocate changing, it’ll make these updates mechanically through the improve. It is a new enhancement to Amazon Q capabilities and is on the market now.

Within the third step, this functionality will construct and run unit exams on the upgraded code, together with fixing any points to make sure the code compilation course of will run easily after the improve.

With this functionality, you may improve Java 8 and 11 purposes which can be constructed utilizing Apache Maven to Java model 17. To get began with the Amazon Q Developer Agent for code transformation functionality, you may learn and comply with the steps at Upgrade language versions with Amazon Q Code Transformation. We even have pattern code so that you can do this functionality.

Issues to know

  • Availability — To study extra in regards to the availability of Amazon Q Developer capabilities, please go to Amazon Q Developer FAQs web page.
  • Pricing — Amazon Q Developer now presents two pricing tiers – Free (free), and Professional, at $19/month/person.
  • Free self-paced course on AWS Talent Builder — Amazon Q Introduction is a 15-minute course that gives a high-level overview of Amazon Q, a generative AI–powered assistant, and the use instances and advantages of utilizing it. This course is a part of Amazon’s AI Ready initiative to supply free AI abilities coaching to 2 million individuals globally by 2025.

Go to our Amazon Q Developer Center to search out deep-dive technical content material and to find how one can velocity up your software program improvement work.

Comfortable constructing,
Donnie

April 30, 2024 replace: This submit has been corrected to notice that Amazon Q data of your account assets is on the market solely in preview.

Leave a Reply

Your email address will not be published. Required fields are marked *