23 C
Canberra
Wednesday, March 4, 2026

Introducing managed question outcomes for Amazon Athena


Amazon Athena makes it easy to research knowledge with out having to arrange and handle knowledge processing infrastructure. Nonetheless, historically, you wanted to arrange an Amazon Easy Storage Service (Amazon S3) bucket to retailer question outcomes earlier than they might run queries with Athena. The necessity arose to make it even less complicated to start out utilizing Athena, with fewer setup steps.

That’s why we’re thrilled to introduce managed question outcomes, a brand new Athena function that routinely shops, secures, and manages the lifecycle of question end result knowledge for you at no further price. Managed question outcomes simplifies your consumer expertise by eradicating the necessity to create or select an S3 bucket in your account to carry outcomes earlier than you run queries. It helps cut back your month-to-month price by shifting short-term storage of question outcomes out of your S3 bucket to Athena, and eliminates the necessity for separate processes to delete question end result knowledge out of your S3 bucket after it’s not wanted. Now, Athena affords each service managed, short-term end result storage and buyer managed Amazon S3 storage choices to fulfill completely different wants.

What’s extra, utilizing managed question outcomes doesn’t require advanced adjustments to purposes that learn question outcomes from present Athena interfaces, and will increase knowledge safety. Entry to managed question end result knowledge is now related to AWS Identification and Entry Administration (IAM) permissions scoped to particular person Athena workgroups, as a substitute of S3 buckets. Moreover, you may routinely encrypt end result knowledge with AWS Key Administration Service (AWS KMS) utilizing AWS owned or buyer managed keys.

On this publish, we reveal get began with managed question outcomes and, by eradicating the undifferentiated effort spent on question end result administration, how Athena helps you get insights out of your knowledge in fewer steps than earlier than.

Answer overview

Whenever you use managed question outcomes, you not have to create and select S3 buckets to retailer question outcomes, or handle lifecycle guidelines to verify the end result knowledge is ultimately cleaned up. The next are some eventualities the place that is useful:

  • Monetary analysts working in groups analyzing market knowledge, every overlaying completely different funding areas or monetary devices, would possibly use completely different workgroups for various sorts of analyses or tasks. Now, analysts don’t have to spend time establishing S3 buckets or fear about cleansing up question outcomes when their work is finished.
  • Compliance groups can run audit queries on transaction knowledge for regulatory reporting whereas ensuring solely licensed workforce members can entry delicate question outcomes by IAM permissions. As a result of question outcomes are cleaned up routinely, the compliance workforce not requires separate processes to delete question end result knowledge.
  • Knowledge and analytics and platform automation groups who’re accountable for streamlined onboarding of latest customers and groups not have to configure particular person S3 buckets and permissions for various customers and groups, simplifying their automation code.

The next are a few of the key options of managed question leads to Athena:

  • It removes the necessity to decide on an S3 bucket location earlier than you run queries.
  • There isn’t any further price to retailer your question outcomes, and question outcomes are routinely deleted after a time period, lowering administration overhead from separate bucket cleanup processes.
  • It’s easy to get began: new and preexisting workgroups might be seamlessly configured to make use of managed question outcomes. You possibly can have a mixture of Athena managed and buyer managed question leads to your AWS account.
  • You should use streamlined IAM permissions with entry to learn outcomes utilizing GetQueryResults and GetQueryResultsStream tied to particular person workgroups.
  • Question outcomes are routinely encrypted together with your alternative of AWS owned or buyer managed KMS keys.

Let’s stroll by get began with managed question outcomes.

1. Configure your workgroup

Full the next steps to configure your workgroup:

  1. On the Athena console, select Workgroups within the navigation pane.
  2. Select Create workgroup.

Alternatively, you may choose an present workgroup and select Edit.

  1. For Question end result configuration, choose Athena managed.
  2. Navigate to the Athena console. To create a brand new workgroup, within the Workgroups web page choose the Create Workgroup button. To edit an present workgroup, choose a workgroup from the record and within the workgroup element web page, choose the Edit button. Beneath Question end result configuration part, you will note the choice for Athena managed:
  3. For Encrypt question outcomes, select your most popular encryption technique

Query result configuration

Determine 1: Question end result configuration

2. Configure Encryption

Select your most popular encryption technique for question outcomes:

  1. Encrypt utilizing an AWS owned key – That is the default choice. It signifies that you really want question outcomes to be encrypted and decrypted by an AWS owned key.
  2. Encrypt utilizing a buyer managed key – Select this feature if you wish to encrypt and decrypt question outcomes with your personal key. To have Athena use your buyer managed key, specify the Athena service within the Principal components of the important thing coverage. For extra data, see Setup an AWS KMS key coverage for managed storage. To run queries, the consumer querying knowledge wants permission to entry your key.

3. Question your knowledge

After you’ve configured your workgroup for managed question outcomes, you may instantly begin operating queries. Let’s run a pattern question towards the AWS Value and Utilization Report.

The Athena console banner signifies that our workgroup, demo-workgroup, was up to date to make use of managed question outcomes. Our question ran efficiently, and we didn’t have to arrange an S3 bucket. To obtain these outcomes, select Obtain outcomes CSV.

Running a query against the Cost and Usage report in the Athena console

Determine 2: Working a question towards the Value and Utilization report within the Athena console

You possibly can entry these outcomes by the Athena console and utilizing the Athena APIs.

Accessing the query results via the Athena API

Determine 3: Accessing the question outcomes by way of the Athena API

Conclusion

On this publish, we launched managed question outcomes, a brand new Athena function that streamlines the question expertise by automated storage of question outcomes, offers automated cleanup, and limits question end result entry with IAM permissions. Managed question outcomes reduces operational overhead, empowering each knowledge analysts operating interactive queries and groups constructing advanced analytics pipelines to concentrate on deriving insights somewhat than managing infrastructure. We demonstrated configure workgroups for managed storage and successfully use this function in question eventualities.

To start out utilizing managed question outcomes with Athena, merely configure your workgroups by the Athena console or APIs. For extra data, see Managed question outcomes.


Concerning the Authors

Man Bachar is a Sr. Options Architect at AWS. He focuses on helping capital markets and FinTech clients with their cloud transformation journeys. His experience encompasses id administration, safety, and unified communication.

Sayan Chakraborty is a Sr. Options Architect at AWS. He helps giant enterprises construct safe, scalable, and performant options on AWS. With a background in enterprise and know-how structure, he has expertise delivering large-scale digital transformation packages throughout a variety of business verticals.

Darshit Thakkar is a Technical Product Supervisor at AWS and works out of Boston, Massachusetts. He works intently with clients to grasp how they use knowledge, and drives product improvements that make knowledge extra actionable at scale.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

[td_block_social_counter facebook="tagdiv" twitter="tagdivofficial" youtube="tagdiv" style="style8 td-social-boxed td-social-font-icons" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjM4IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" custom_title="Stay Connected" block_template_id="td_block_template_8" f_header_font_family="712" f_header_font_transform="uppercase" f_header_font_weight="500" f_header_font_size="17" border_color="#dd3333"]
- Advertisement -spot_img

Latest Articles