New generative AI assistant Amazon Q powers IT pros and developers (preview)

Today, we release a preview of Amazon Q , a new generative AI assistant designed for enterprise-level businesses that can Tailored to the client's business.

Amazon Q brings a variety of support capabilities to developers and IT professionals. Now, with Amazon Q, you can build applications on Amazon cloud technology, research best practices, troubleshoot errors, and get help coding new features in your applications. For example, Amazon Q Code Transformation can now upgrade Java applications from versions 8 and 11 to version 17.

Amazon Cloud Technology Developer Community provides developers with global development technology resources. There are technical documents, development cases, technical columns, training videos, activities and competitions, etc. Help Chinese developers connect with the world's most cutting-edge technologies, ideas, and projects, and recommend outstanding Chinese developers or technologies to the global cloud community. If you haven’t followed/collected it yet, please don’t swipe it hastily when you see this, click Here () Let it become your technical treasure trove!

Many of Amazon's cloud services and features come with Amazon Q, an assistant that lets you quickly get answers and ideas wherever you work. Here's a brief introduction to Amazon Q, including using Amazon Q in an integrated development environment (IDE):

picture

Build applications with Amazon Q

Application development is a process that involves a continuous cycle of research, development, deployment, optimization, and maintenance. There are many issues to face at each stage, such as identifying the right Amazon Cloud services, dealing with issues in the application code, and more.

Amazon Q is trained on 17 years of Amazon Cloud knowledge and best practices, giving you a fresh experience at every stage of development as you build applications on Amazon Cloud. With Amazon Q, you can minimize the time and effort you need to acquire the knowledge you need to answer your Amazon Cloud technology questions, explore new Amazon Cloud Technology capabilities, learn unfamiliar technologies, and develop solutions that drive innovation.

Here are some of the features of Amazon Q.

1. Conversational Q&A function

You can use Amazon Q's conversational Q&A feature to interact with it to start learning, learn new things, research best practices, and iterate on how you build applications on Amazon Cloud without taking your eyes off Amazon. The console moved elsewhere.

To get started, select the Amazon Q icon to the right of Amazon Management Console .

picture

For example, you can ask, "What Amazon Web Services serverless services are available for building serverless APIs?" Amazon Q provides concise explanations and references you can use to follow up on questions and verify guidance. You can also use Amazon Q to follow up and iterate on issues. Amazon Q will provide you with more in-depth answers and references.

picture

Sometimes we ask questions for use cases with fairly specific requirements. Amazon Q allows you to elaborate on your use cases in more detail and provide context.

For example, you can ask Amazon Q: "I plan to create a serverless API that has 100,000 requests per day. Each request requires a lookup in the database. What services are suitable for such a workload?" Amazon Q will reply with a response that you can use list of Amazon cloud technology services, and try to limit answer results to those services that can be accurately referenced and verified by best practices.

picture

Here's some additional information you might want to pay attention to:

  • Amazon Q conversational Q&A is currently available in all regions where Amazon Cloud Technologies offers commercial services.
2. Optimize Amazon EC2 instance options

Choosing the right Amazon Elastic Compute Cloud (Amazon EC2) instance type for your workload among the many options available can be difficult. Amazon Q aims to simplify this process by providing personalized recommendations.

To use this feature, ask Amazon Q: "What instance series should I use to deploy Web App Server for hosting applications?" You choose to use Amazon EC2 This feature can also be used when starting an instance in console . In Instance type, you can selectGet instance type selection suggestions. This option will display a dialog box to define your requirements.

picture

Your request is automatically converted into a prompt on the Amazon Q chat panel. Amazon Q returns a suggested list of EC2 instances that fit your use case. This feature helps you choose the right instance type and settings to make your workloads run smoother and more cost-effectively.

picture

Amazon Q Preview is available in all regions where Amazon Cloud Technologies offers commercial services, with EC2 instances provided based on use case Type recommended features.

3. Troubleshoot and handle errors directly in the console

Amazon Q also helps you handle errors for various Amazon Web Services directly in the console. Avoid slow manual log inspection or research with Amazon Q's suggested solutions.

Suppose you have an Amazon Lambda< that is trying to interact with an Amazon DynamoDB table a i=4> function, but for unknown reasons, this function cannot be run. Now, with Amazon Q, you can choose Troubleshoot with Amazon Q to troubleshoot and resolve this issue faster. 

picture

Amazon Q provides concise error analysis to help you understand the root cause of the problem and propose solutions. Armed with this information, you can follow the steps described by Amazon Q to fix the problem.

picture

In just minutes, you can find a solution to your problem, saving you tons of time without disrupting your development workflow. For Amazon Elastic Compute Cloud (Amazon EC2), Amazon Simple Storage Service (Amazon S3)< a i=4>, Amazon ECS and Amazon Lambda these services, in The preview version of Amazon Q available in US West (Oregon) is equipped with features to help you troubleshoot errors in the console.

4. Network troubleshooting assistance

When a network configuration error occurs in your existing Amazon Cloud Technology account, causing network link problems, you can also ask Amazon Q to help solve the problem. For this feature, Amazon Q uses the Amazon VPC Reachability Analyzer to diagnose connections and examine your network configuration to identify potential issues.

You asked Amazon Q questions like "Why can't I SSH into my EC2 instance?" or "Why can't I SSH into my EC2 instance?" network server?" and other questions, you can easily diagnose and solve Amazon Cloud Technology network problems.

picture

Then, in the reply text, select preview experience here and Amazon Q will provide explanations to help you troubleshoot network connectivity issues.

picture

Here's what you need to know:

  • Currently, this feature is available in preview builds available in US East (N. Virginia).
5. Integration and conversational features in the IDE

As mentioned before, Amazon Q is also available in supported IDEs. This allows you to invoke actions, ask questions, and get help in the IDE by chatting with Amazon Q or typing / in the chat box.

To get started, you need to install or update the latest Amazon Cloud Technology Toolkit and log in to Amazon CodeWhisperer. After logging into Amazon CodeWhisperer, Amazon CodeWhisperer automatically activates the Amazon Q session feature in the IDE. Once you enable Amazon Q, you can start chatting for coding assistance.

picture

You can ask Amazon Q to describe your source code files.

picture

Next, you can improve your application, for example, integrating it with Amazon DynamoDB. You can ask Amazon Q to: "Generate code that saves data to a DynamoDB table named save_data(), which accepts a data parameter and returns a Boolean status if the operation runs successfully."

picture

After viewing the generated code, you can manually copy and paste it into the editor. You can also choose Insert at cursor to place the generated code directly into the source code.

picture

This feature makes it easy to focus on building your application by getting answers and context-specific coding guidance without leaving the IDE. You can try a preview version of this feature in Visual Studio Code and JetBrains IDE.

6. Function development capabilities

Another exciting feature that Amazon Q offers is interactively providing you with ideas from within the IDE and Amazon CodeCatalyst to guidance on building new features. You follow natural language prompts and use interactive step-by-step guidance and best practices to create application functionality in just minutes. Amazon Q will use prompts to try to understand the structure of your application and break your prompts down into logical, atomic implementation steps.

To use this feature, you can first call the operation command in Amazon Q /dev and describe the tasks that need to be processed by Amazon Q.

picture

Next, you can chat with Amazon Q for review, collaboration, and guidance on specific areas that need implementation.

If you use Amazon CodeCatalyst, there are additional features available to help you deliver features faster with full pull requests. In Amazon CodeCatalyst, you can assign new or existing issues to Amazon Q, and it will handle the end-to-end development workflow for you. Amazon Q will review the existing code, propose a solution, solicit your feedback on the solution, generate mergeable code, and issue a pull request for review. After that, you just need to review the solution proposed by Amazon Q.

The following screenshot is a pull request created by Amazon Q in Amazon CodeCatalyst.

picture

Here's what you need to know:

  • Amazon Q feature development preview is currently available in Visual Studio Code and Amazon CodeCatalyst
  • To use this feature in the IDE, you need to have the Amazon CodeWhisperer Professional tier. For more information, visit the Amazon CodeWhisperer pricing page.
7. Upgrading your application using Amazon Q Code Transformation

Now with Amazon Q, you can initiate a boot transcoding and upgrade your entire application in just a few hours. This feature is called Amazon Q Code Transformation, and it simplifies maintenance, migration, and upgrades of existing applications.

Navigate to the CodeWhisperer section and select Transform, that is Conversion can begin. Amazon Q Code Transformation automatically analyzes the existing code base, generates a transformation plan, and completes the key transformation tasks recommended by the plan.

picture

Some additional information about this feature:

  • Amazon Q Code Transformation is currently available in preview for the Amazon Toolkit for IntelliJ IDEA and the Amazon Toolkit for Visual Studio Code.
  • To use this feature, you need to have the Amazon CodeWhisperer Professional tier during the preview period.
  • During preview, you can upgrade applications that use Java versions 8 and 11 to Java Long Term Support (LTS) version 17.

Get started with Amazon Q today

With Amazon Q, you have a generative AI expert by your side to answer your questions, code faster, troubleshoot, optimize workloads, and even help you code new features. These capabilities simplify every stage of building applications on Amazon Cloud Technologies.

If you need additional assistance, Amazon Q lets you contact an Amazon Support agent directly within the Q interface, eliminating any dead ends in the customer self-service experience. Integration with Amazon Support is available in the console, and it provides you with appropriate support according to your Amazon Support plan.

to know more information

SAmazon Q Main Product Page Amazon Q Details for IT Pros and Developers Getting Started with Amazon Q

Learn more about Amazon Q

Introduction to the new generative artificial intelligence assistant Amazon Q (preview)
Use Amazon Q with generative artificial intelligence in Amazon CodeCatalyst to improve development...< a i=2>Upgrade your Java applications with Amazon Q Code TransformationNew generative AI capabilities in Amazon Connect, including Amazon Q, drive better...QuickSight is equipped with the new Amazon Q, assisted by generative artificial intelligence, faster and easier...


文章来源:
https://dev.amazoncloud.cn/column/article/65718fe2e1a2aa6fd3528c74?sc_medium=regulartraffic&sc_campaign=crossplatform&sc_channel=CSDN

Guess you like

Origin blog.csdn.net/u012365585/article/details/134943643