Posts

Showing posts from January, 2025

[MS] Creating a generic insertion iterator, part 2 - devamazonaws.blogspot.com

Last time, we tried to create a generic insertion iterator but ran into trouble because our iterator failed to satisfy the iterator requirements of default constructibility and assignability. We ran into this problem because we stored the lambda as a member of the iterator. So let's not do that! Instead of saving the lambda, we'll just save a pointer to the lambda. template<typename Lambda> struct generic_output_iterator { using iterator_category = std::output_iterator_tag; using value_type = void; using pointer = void; using reference = void; using difference_type = void; generic_output_iterator(Lambda&& lambda) noexcept : insert( std::addressof(lambda) ) {} generic_output_iterator& operator*() noexcept { return *this; } generic_output_iterator& operator++() noexcept { return *this; } generic_output_iterator& operator++(int) noexcept { return *this; } template<typename ...

Amazon EventBridge enhances event source discovery in the console - devamazonaws.blogspot.com

The Amazon EventBridge console now displays the source and detail type of all available AWS service events when you create a rule in the EventBridge console. This makes it easier for customers to discover and utilize the full range of AWS service events when building event-driven architectures. Additionally, the EventBridge documentation now includes an automatically updated list of all AWS service events, facilitating access to the most current information. Amazon EventBridge Event Bus is a serverless event router that enables you to create highly scalable event-driven applications by routing events between your own applications, third-party SaaS applications, and other AWS services. With this update, developers can quickly search and filter through all available AWS service events, including event types, within the EventBridge console, when configuring event patterns in the sandbox and rules, and in the documentation, enabling customers to more efficiently create event-driven integ...

[MS] Azure SDK Release (January 2025) - devamazonaws.blogspot.com

Thank you for your interest in the new Azure SDKs! We release new features, improvements, and bug fixes every month. Subscribe to our Azure SDK Blog RSS Feed to get notified when a new release is available. You can find links to packages, code, and docs on our Azure SDK Releases page . Give feedback If you've been using the Azure SDK, we'd love to hear your thoughts! Take a moment to complete the survey ! Release highlights According to the official Node.js release timeline , Node.js 18 will reach its official end-of-life on April 30, 2025 and will no longer receive security updates and critical bug fixes. We strongly recommend upgrading to the latest version to ensure continued support. As a reminder, the Azure SDK libraries aren't guaranteed to work on platforms and with other dependencies that are deemed end of life. Dropping support for such dependencies may be done without increasing the major version of the Azure SDK libraries. We strongly recommend migration to su...

[MS] Using Managed Identity on Logic App consumption - devamazonaws.blogspot.com

TL;DR On a recent project, we faced a challenge: deploying an Azure Logic App Consumption workflow that securely connects to other Azure services—like Storage—using Managed Identity. We wanted to avoid the hassle of managing credentials while sticking to our tool of choice, Terraform. But here’s the catch: Terraform doesn’t natively support setting up API connections with Managed Identity for Logic App Consumption workflows. Instead of settling for manual configurations, we devised a solution. Using Terraform's azapi_resource for API connections and ARM templates for deploying Logic Apps, we managed to bypass these limitations. Along the way, we set up resource groups, storage accounts, and queues, configured API connections for secure authentication, deployed Logic Apps, and assigned roles to keep everything streamlined. This approach gave us the security and simplicity we needed—without compromising automation. Problem Statement While working with Azure Logic App Consumption, w...

[MS] Dev Proxy v0.24 with improved generating OpenAPI specs - devamazonaws.blogspot.com

Image
We’re thrilled to announce the release of Dev Proxy v0.24. If you’re looking to simulate APIs and test your applications under real-world conditions, you should try Dev Proxy! In this version: Generate OpenAPI specs in JSON and YAML Generate OpenAPI specs for use with Microsoft Power Platform Easily find URLs to watch View timestamps for intercepted requests Use Dev Proxy in scripts ...and more! Generate OpenAPI specs in JSON and YAML Developers often have strong preferences when it comes to file formats. While some prefer generating OpenAPI specs in JSON, others use YAML. In this version, we introduce support for allowing you to choose in which format you’d like to generate OpenAPI specs. You can control the format using the specFormat option in the OpenApiSpecGeneratorPlugin configuration.   This new configuration option gives you more flexibility for generating OpenAPI specs and getting them in the format you and your team prefer. Learn more about generating OpenAPI s...

[MS] Automating Developer Environments with Microsoft Dev Box and Teams Customizations - devamazonaws.blogspot.com

Image
The following blog walks through the experience of defining and automating the creation of developer environments with the newly announced Teams Customizations feature in Microsoft Dev Box. This allows developer team leads or managers to define the software installed by default every time a developer creates a new environment, ensuring that every team member has the latest tools and frameworks needed to deliver on a project right away. This automates the typical process of using a combination of custom images, miscellaneous scripts, and manual configuration that is used in most organizations today. Moving to an automated approach enables developer teams to work more efficiently and not have to spend additional time configuring developer environments. If you are new to Dev Box, there may be some concepts that are mentioned below you may not be aware of. To learn more about the core concepts for Microsoft Dev Box, check out our docs page here. What are Dev Box Customizations?   Wi...

AWS Marketplace expands self-service listing experience for AMI products with CloudFormation templates - devamazonaws.blogspot.com

AWS Marketplace now offers a self-service listing experience for sellers listing or managing Amazon Machine Image (AMI) products with CloudFormation templates (CFT). This launch expands the self-service listing capability previously available for single-AMI, software as a service (SaaS), and container products. With this release, sellers can now create and manage AMI with CloudFormation listings using a new UI experience, replacing the manual spreadsheet process. During listing creation, sellers are guided through a step-by-step workflow to fill in required information about their listings. All changes are initially visible only to the sellers, allowing them to preview and test the product. Sellers who are ready to publish a product publicly can request a visibility change through the UI, prompting a final validation review by the AWS Marketplace team. Sellers can access this experience through the AWS Marketplace Management Portal or they can programmatically access the new functi...

Amazon EC2 C8g instances now available in AWS Europe (Stockholm) - devamazonaws.blogspot.com

Starting today, Amazon Elastic Compute Cloud (Amazon EC2) C8g instances are available in AWS Europe (Stockholm) region. These instances are powered by AWS Graviton4 processors and deliver up to 30% better performance compared to AWS Graviton3-based instances. Amazon EC2 C8g instances are built for compute-intensive workloads, such as high performance computing (HPC), batch processing, gaming, video encoding, scientific modeling, distributed analytics, CPU-based machine learning (ML) inference, and ad serving. These instances are built on the AWS Nitro System , which offloads CPU virtualization, storage, and networking functions to dedicated hardware and software to enhance the performance and security of your workloads. AWS Graviton4-based Amazon EC2 instances deliver the best performance and energy efficiency for a broad range of workloads running on Amazon EC2. These instances offer larger instance sizes with up to 3x more vCPUs and memory compared to Graviton3-based Amazon C7g insta...

Amazon Lex Global Resiliency now supports CloudFormation and existing alias replication - devamazonaws.blogspot.com

We are excited to announce new capabilities for Amazon Lex Global Resiliency. Building on our existing regional replication framework, we now support existing alias replication and CloudFormation for enabling bot replication. These new features enhance the existing automation that synchronizes your Lex V2 bots, associated resources, versions, and aliases to paired AWS regions in near real-time, while maintaining hot standby resources for immediate failover or an active-active setup . For contact center customers, this update streamlines disaster recovery by automatically keeping regional configurations in sync. The feature preserves existing alias ARNs during replication and removes the need to update contact flows in multiple places when modifying your bots. With support across the console, CLI, CDK, and CloudFormation, implementing robust disaster recovery solutions is more streamlined than ever. Global Resiliency for Amazon Lex is available in the following AWS region pairs: us-...

AWS Health now supports Internet Protocol Version 6 (IPv6) - devamazonaws.blogspot.com

AWS Health customers can now use Internet Protocol version 6 (IPv6) addresses, via our new dual-stack endpoints to view operational issues or planned lifecycle events for all accounts and resources in your organization. The existing Health endpoints supporting IPv4 will remain available for backwards compatibility. The urgency to transition to Internet Protocol version 6 (IPv6) is driven by the continued growth of internet, which is exhausting available Internet Protocol version 4 (IPv4) addresses. With simultaneous support for both IPv4 and IPv6 clients on Health endpoints, you are able to gradually transition from IPv4 to IPv6 based systems and applications, without needing to switch all over at once. This enables you to meet IPv6 compliance requirements and removes the need for expensive networking equipment to handle the address translation between IPv4 and IPv6. To learn more on best practices for configuring IPv6 in your environment, visit the whitepaper on IPv6 in AWS. Supp...

[MS] Iterate across multiple files more efficiently with GitHub Copilot Edits (Preview) - devamazonaws.blogspot.com

Image
GitHub Copilot Edits (Preview) in Visual Studio 2022 combines the conversational flow of chat and an inline review experience to help you iterate across your codebase with more control and efficiency. 💡 Here’s how Copilot Edits helps with iterating across multiple files: Preview with clarity : Review a clear summary that highlights affected files and proposed changes. Review with flow : View code diffs inline, directly in your editor. Either the TAB key to accept and Alt+Del keys to reject individual changes, or apply/dismiss all at once. Iterate with confidence : Use checkpoints to revisit earlier iterations of a code file or try an alternative approach anytime for novel ideas. [video width="1920" height="1080" mp4="https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2025/01/edits-final-_-jan-16-_-captions.mp4"][/video] Available in Visual Studio 2022 Preview Copilot Edits is available in versions 17.13 Preview 3 and later of Vi...

Announcing AWS Managed Notifications in the AWS Console Mobile App - devamazonaws.blogspot.com

Today, Amazon Web Services (AWS) is announcing the general availability of AWS Managed Notifications in the AWS Console Mobile Application. You can now get push notifications for default AWS Health notifications and view them in the AWS Console Mobile Application’s notification inbox, alongside your user-configured notifications such as CloudWatch alarms. To get started, visit the AWS Console Notifications Center and select the AWS managed notifications subscriptions option in the navigation panel. Next, select Manage subscriptions for the specific notifications you’d like to receive and click Add delivery channels . Finally, in the Add delivery channels modal’s AWS Console Mobile App section, select your device and click Add delivery channels. Configuring and viewing notifications in the AWS Console Notifications Center and the AWS Console Mobile Application are offered at no additional cost. The AWS Console Mobile App lets you stay informed and connected with your AWS resour...

[MS] A pattern for obtaining a single value while holding a lock - devamazonaws.blogspot.com

It is often the case that you have a mutex or other lockable object which protects access to a complex variable, and you want to read the variable's value (possibly modifying it in the process) while holding the lock, but then operate on the value outside the lock. The traditional way is to do something like this: // Assume we have these member variables std::mutex m_mutex; Widget m_widget; // Get a copy of the widget Widget widget; { auto guard = std::lock_guard(m_mutex); widget = m_widget; } ⟦ use the variable "widget" ⟧ This does suffer from the problem of running the Widget constructor for an object that we're going to overwrite anyway. The compiler will also have to deal with the possibility that the lock_ guard constructor throws an exception, forcing the destruction of a freshly-constructed Widget . I like to use this alternate pattern, using an immediately-invoked lambda that returns a value. // Get a copy of the widget Widget widget = [&] ...

[MS] Reduce costs with Hibernation in Azure DevTest Labs - devamazonaws.blogspot.com

In the ever-evolving landscape of cloud computing, cost efficiency remains a top priority for platform engineers and lab users. To help organizations optimize cloud costs and management, we’re excited to introduce the Hibernation feature for virtual machines (VMs) in Azure DevTest Labs, now in public preview. The new Hibernation feature in Azure DevTest Labs helps optimize costs by pausing Virtual Machines (VMs) while preserving their state, making it easy to resume work without losing progress. Hibernation is an effective way to reduce costs and adds more flexibility to VM management. Azure DevTest Labs has traditionally provided capabilities such as shutdown of Virtual Machine, either manually or through scheduling, to help users manage VM costs efficiently. While effective at reducing expenses, the shutdown feature doesn’t maintain the state of applications and processes between VM sessions. That’s where the new hibernation feature fills the gap — enabling VMs to pause while pr...

[MS] Introducing Change Event Streaming: Join the Azure SQL Database Private Preview for Change Data Streaming - devamazonaws.blogspot.com

Image
In a world where digital transformation is accelerating, the ability to integrate and process real-time data from diverse sources is crucial for success. Organizations today depend on timely insights to enhance decision-making, improve operations, and foster innovation. To meet this need, we’re thrilled to announce the private preview of Change Event Streaming (CES), a new functionality that lets you stream data changes directly from your Azure SQL Database into Azure Event Hubs . Starting now, you can apply to join this preview program . Participants will have the chance to test CES on Azure SQL Database and Azure Event Hubs , with plans to expand support for additional sources and destinations in the future. By participating, you'll gain early access to the feature, collaborate with the product team, and help shape the final release with your feedback. Important Note: CES can also be tested using Azure SQL Database’s free offer , making it easy for anyone to get started. ...

Amazon EFS is now available in the AWS Mexico (Central) Region - devamazonaws.blogspot.com

Customers can now create file systems using Amazon Elastic File System (Amazon EFS) in the AWS Mexico (Central) Region. Amazon EFS is designed to provide serverless, fully elastic file storage that lets you share file data without provisioning or managing storage capacity and performance. It is built to scale on demand to petabytes without disrupting applications, growing and shrinking automatically as you add and remove files. Because Amazon EFS has a simple web services interface, you can create and configure file systems quickly and easily. The service is designed to manage file storage infrastructure for you, meaning that you can avoid the complexity of deploying, patching, and maintaining complex file system configurations. For more information, visit the Amazon EFS product page, and see the AWS Region Table for complete regional availability information. Post Updated on January 23, 2025 at 09:20PM

[MS] Revolutionizing Large-Scale AI with Janusgraph and Azure Managed Instance for Apache Cassandra - devamazonaws.blogspot.com

Image
JanusGraph is a high-performance graph database that offers flexibility in choosing storage backends. Apache Cassandra is a distributed NoSQL database known for its scalability and fault tolerance. Combining these two technologies can create a robust and efficient graph database solution. You can use the Azure Managed Instance for Apache Cassandra which is a fully-managed offering on Azure with boasts of features such as Turnkey Horizontal and Vertical Scaling, Support for Customer Managed Keys, LDAP support, auto patch of OS, automatic repairs, Azure Monitor, Lucene Index support and keeping in line with today’s trends, support for Vector database and Dynamic Data Masking. How Azure Managed Instance for Apache Cassandra Powers Scalable Health Monitoring The AIOps Health & Synthetics Platform team built a system that detects outages using SLI data, powering health monitoring across Azure. By using automated alerts that intelligent monitoring triggers to keep Azure's health...

[MS] Revolutionising Customer Feedback: Harnessing Large Language Models for Retail Insights and Intelligence - devamazonaws.blogspot.com

Image
Introduction In this blog post, we explore how Large Language Models (LLMs) can extract valuable insights from customer feedback. By analyzing feedback, businesses can make customer-centric decisions, ultimately enhancing satisfaction. The post highlights the insights gathered from an engagement with a leading retailer, where LLMs were used to extract information from shopper feedback. We delve into extracting themes, sentiment, and competitor comparisons, as well as crafting effective prompts for optimal results from LLMs. The problem Organizations employ various strategies to enhance customer satisfaction. Collecting customer feedback and analyzing it to address concerns are common among these practices. However, manually reviewing large volumes of feedback can be time-consuming, especially when there are tens of thousands of feedbacks received everyday. Traditional NLP models are found to be ineffective especially for handling large review comments. In this post, we provide an app...