Get 6X read performance with Memorystore for Redis Read Replicas

Modern applications need to process large-scale data at millisecond latency to provide experiences like instant gaming leaderboards, fast analysis of streaming data from millions of IoT sensors, or real-time threat detection of malicious websites. In-memory datastores are a critical component to deliver the scale, performance, and availability required by these modern applications. Memorystore makes it easy for developers building applications on Google Cloud to leverage the speed and powerful capabilities of the most loved in-memory store: Redis. Memorystore for Redis standard tier instances are a popular choice for applications requiring a highly available Redis instance. Standard tier provides a failover replica across zones for redundancy and provides fast failover with a 99.9% SLA. However, in some cases, your applications will require more read throughput from a standard tier instance. One of the common patterns customers use to scale read queries in Redis is leveraging read replicas.Introducing Memorystore for Redis Read ReplicasToday we are excited to announce the public preview of Memorystore for Redis Read Replicas, which allows you to seamlessly scale your application’s read requests by 6X with the click of a button.With read replicas, you can easily add up to five replicas and leverage the read endpoint to automatically load balance read queries across all the available replicas, increasing read performance linearly with each replica added. Additionally, Memorystore’s support for Redis 6 introduced multi-thread I/O, increasing performance significantly for M3 and higher configurations. Combined, you can achieve read requests of more than a million requests per second. You will benefit from this new functionality in several ways. You will be able to scale on demand with up to five read replicas and use read endpoint with any redis client to easily load balance read queries across multiple replicas. This new functionality will also improve availability with automatic distribution of replicas across multiple zones. With read replicas, you will also be able to minimize application downtime with fast failover to the replica with the least replication lag. In the future, Memorystore will also easily enable read replicas on existing standard tier instances to increase read throughput. You can learn more about how to configure and use read replicas in the Read Replicas Overview. Improving performance with Read Replicas and Redis 6With the launch of read replicas, you can easily increase the read throughput of a Memorystore instance. You can further enhance the read performance by leveraging Redis version 6 along with read replicas.To understand why combining read replicas and Redis 6 can significantly improve your application’s read performance, let’s look at the various Memorystore configurations that you can use with your applications today. Memorystore Basic and Standard offerings  provide different capacity tiers. The capacity tier determines the single node performance of a basic and standard tier instance. The table below outlines the configuration of the various capacity tiers:Up until version 5, Redis processed commands using a single thread. The processing involved reading the request, parsing the request, processing the request, and writing the response back to the socket. This approach means that all of the processing, which includes writing the response, was sequentially processed by a single vCPU regardless of the number of vCPUs available in the instance.Redis 6 introduced IO threading which allows writing the response using parallel threads. This functionality enables Redis 6 to more effectively leverage available vCPUs, thereby increasing the overall throughput compared to lower versions. Memorystore for Redis version 6 leverages IO threading and automatically configures the optimal number of IO threads to achieve the best possible performance for the various capacity tiers. We have also improved the overall network throughput for all redis versions by leveraging improvements in the Google Cloud infrastructure. Together these improvements deliver significant performance improvements and come at no additional cost to you. So what can you expect from using Redis 6? As outlined in the table, Redis version 5 and lower uses a single thread to process the write requests for all tiers while Redis 6 uses a larger number of IO threads at higher capacity tiers which provides substantially incremental throughput for higher capacity tiers.For example, using a Redis 6 standard tier instance with a capacity of 101 GB (M5), we have observed up to a 200% improvement in read/write performance compared to version 5, though the actual value you’ll see is dependent on your workload. You can get the benefits of Redis 6 by upgrading an existing instance or by deploying a new instance.By enabling read replicas on an instance using Redis 6, you can further improve the read performance. Read throughput scales linearly with the number of replicas so you can increase your read queries on an instance by up to 500% using five read replicas. By combining Redis 6 and read replicas, you can see a 10X increase in read performance compared to a version 5 standard tier instance with no read replicas.We are excited about the launch of read replicas but this is just one step in our journey to deliver the scale you need at the best price-performance. You can learn more about read replicas pricing on our Memorystore pricing page and get started using the Read Replicas Overview.
Quelle: Google Cloud Platform

How to create and safeguard your admin accounts

Setting up your new cloud infrastructure is scary. Extra scary when you realize that someone (is it gonna be you?) gets to have phenomenal cosmic power over the whole thing. Yes, I’m talking about the admin account, and today we’ll dig into why they are important, dangerous and different.When the team at pistach.io got their nuts-as-a-service business growing fruitfully, they knew they needed to think carefully about admin accounts. These people would have tremendous control over their use of Google Cloud, and they could potentially cause very big problems if any were compromised. Definitely resources that require a protective shell.Early in pistach.io’s development, an employee named Walter Nutt wanted to play a prank by changing his co-worker’s profile photo from an almond to a peanut (pretty devious, since a peanut is actually a legume). He didn’t have access to his friend’s computer, but he did have access to the company’s Cloud Storage bucket. While searching for the profile photo in question, Wally inadvertently deleted the entire contents of the bucket! As he searched for ways to restore its contents, Wally modified access to two other pistach.io buckets.  The company was ground to a halt for a week while teams worked to crack through the permissions issues.Time to rethink permissions a bit, so this couldn’t spoil their buttery smooth operations in the future.Following the resource manager guide, the team made a super admin email address that wasn’t tied to a particular individual or Workspace account, and secured it with strong multi-factor authentication. This would be their backup in case an admin account were to be compromised, so they could recover and repair.The team already uses Google Workspace, so they have an organization set up already. That creation process established initial super administrators, allowing them to create and modify all other resources inside the organization. As they looked toward using Google Cloud, the super administrators could:Give the admin role to people, for CloudAct as a point of contact for account recoveryModify or delete the organization if neededMaking admin users for the organization allows other people to then flesh out the resources and policies for pistach.io, before they go nuts and give everyone all the permissions. While that would speed things up, it would make it easy for an attacker to crack through the security shell because any account compromise could give ousize access. Yikes!Instead, the IT leads specified certain people to act as organization admins, and then gave them permissions to:Define Identity and Access Management policiesStructure the Resource HierarchyDelegate control of specific Cloud elements to others on the teamOnce those organization admins were set up, they could give management and oversight of Compute, Storage, Networking and other resource types to the relevant leads, making sure each person had just the right amount of permission for the role they needed to perform. The organization admins don’t have permissions themselves to make these resources. They just delegate. Now each person can accomplish the job they’re responsible for, but doesn’t have overly permissive access. Delegating like this keeps the entire organization safer, and limits the blast radius if someone does manage to break in.You can go through these steps yourself with this tutorial.By default the creation of an organization resource for the domain gives everyone the ability to create projects and billing accounts. Once they set up their Organization Admin at pistach.io they decided to remove some of these wide permissions and, in a nutshell, bring everything down to a much finer control. So people could get permissions for a folder or a project, but not the entire organization!Remember to take care of your admin roles, as they have the power, and responsibility, to cause serious harm if not used safely. Be safe with your Identity and Access Management. And keep your data yours! Next time we join you we’ll take a crack at creating and provisioning an app to run inside the policies and resource management frameworks created today.Related ArticleYou make the rules with authentication controls for Cloud StorageOnce you’ve got your data into Cloud Storage, it’s time for an important conversation about authentication. In this post, we’ll review so…Read Article
Quelle: Google Cloud Platform

AWS Security Hub fügt drei neue FSBP-Kontrollen und drei neue Partner hinzu

AWS Security Hub hat drei neue Kontrollen für seinen Foundational-Security-Best-Practice-Standard (FSBP) veröffentlicht, um die Cloud-Sicherheitsstatus-Verwaltung (CSPM) der Kunden zu verbessern. Diese Kontrollen führen vollautomatische Prüfungen gegen bewährte Sicherheitspraktiken für Elastic Load Balancing und AWS Systems Manager durch. Sofern Sie Security Hub so eingestellt haben, dass neue Kontrollen automatisch aktiviert werden und Sie bereits AWS-Foundational-Security-Best-Practices verwenden, sind diese Kontrollen standardmäßig aktiviert. Security Hub unterstützt jetzt 162 Sicherheitskontrollen zur automatischen Überprüfung Ihres Sicherheitsstatus in AWS.
Quelle: aws.amazon.com

AWS Amplify kündigt neue observeQuery-API für Amplify DataStore an, um den schnelleren Start von Apps mit Echtzeitdaten zu unterstützen

Mit der heutigen Version können Entwickler die neue observeQuery-API von AWS Amplify DataStore verwenden, um Apps mithilfe lokal gespeicherter Daten schneller zu öffnen und dann die App-Benutzeroberfläche ohne zusätzlichen Code mit Echtzeitdaten zu aktualisieren. DataStore bietet den Entwicklern von Frontend-Anwendungen die Möglichkeit, Echtzeit-Anwendungen mit Offlinefunktionen zu entwickeln. Dazu werden Daten auf dem Gerät (Webbrowser oder Mobilgerät) gespeichert und über eine Internetverbindung automatisch mit der Cloud und von Gerät zu Gerät synchronisiert. Mit der neuen observeQuery-API können Entwickler mit einem einzigen API-Aufruf sowohl lokal gespeicherte Daten abrufen als auch nachfolgende Datenänderungen abonnieren, die aus der Cloud synchronisiert werden.
Quelle: aws.amazon.com

Einführung von 34 neuen Ressourcentypen in der CloudFormation Registry

Seit unserem letzten Update im August 2021 wurde AWS CloudFormation Registry zwischen August und Oktober 2021 um Unterstützung für 34 neue Ressourcentypen (siehe vollständige Liste unten) erweitert. Ein Ressourcentyp umfasst ein Schema (Ressourceneigenschaften und Handler-Berechtigungen) und Handler, die API-Interaktionen mit den zugrunde liegenden AWS- oder Drittanbieter-Services erlauben. Kunden können jetzt den Lebenszyklus dieser neu unterstützten Ressourcen als Teil ihrer Cloud-Infrastruktur über CloudFormation konfigurieren, bereitstellen und verwalten, indem sie die Infrastruktur als Code behandeln. Darüber hinaus freuen wir uns, Ihnen mitteilen zu können, dass am Tag der Einführung 4 neue AWS-Services CloudFormation-Unterstützung hinzugefügt haben. Diese Services umfassen: Amazon Managed Service für Prometheus, Amazon OpenSearch Service, Amazon MemoryDB für Redis und Amazon Connect Wisdom. CloudFormation unterstützt jetzt 165 AWS-Services mit über 800 Ressourcentypen sowie über 40 Ressourcentypen von Drittanbietern.
Quelle: aws.amazon.com