<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by pict3 on Medium]]></title>
        <description><![CDATA[Stories by pict3 on Medium]]></description>
        <link>https://medium.com/@pict3?source=rss-652718c92b4c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wmZv_1h1EY4KCfBAovNT-g.png</url>
            <title>Stories by pict3 on Medium</title>
            <link>https://medium.com/@pict3?source=rss-652718c92b4c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:23:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pict3/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Security Service updates at Google Cloud Next 2025]]></title>
            <link>https://medium.com/@pict3/security-service-updates-at-google-cloud-next-2025-072e03f1a302?source=rss-652718c92b4c------2</link>
            <guid isPermaLink="false">https://medium.com/p/072e03f1a302</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[googlecloudnext25]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[google-cloud]]></category>
            <dc:creator><![CDATA[pict3]]></dc:creator>
            <pubDate>Wed, 07 May 2025 13:51:53 GMT</pubDate>
            <atom:updated>2025-05-07T13:58:51.826Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you kept up with all the service updates on Google Cloud Next ‘25?<br>I think it’s impossible, because it’s too many.<br>So I’ve summarized the information about security services.</p><h3><strong>Google Unified Security</strong></h3><h4><strong>Overview</strong></h4><p>Share a Security Data Fabric that will serve as a data lake, leverage Gemini, and optimize multiple security services by linking them together. Security agents support prioritization and triage.<br>&lt;Personal Opinion&gt;<br>I guess it is an evolution of SCC Enterprise announced at the same event last year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LZ5CaLqwGh0yfLNj" /></figure><h4>Security agents and Gemini</h4><p>In Google Unified Security, the following two security-specific AI agents will be utilized.</p><p><strong>Alert Triage Agent</strong><br>Scheduled for limited preview release in Q2 (April-June) of 2025.<br>For occurred alerts, determines the level of importance by linking related information based on past agent history.</p><p><strong>Malware Analysis Agent</strong><br>Scheduled for limited preview release in Q2 (April-June) of 2025.<br>Determines whether there is anything malicious within the code.</p><h3><strong>Google Security Operations</strong></h3><h4><strong>Data Pipeline Management</strong></h4><p>GA (Generally Available) already.</p><p>End-to-end data pipeline management function.<br>Available in Google Security Operations Enterprise Plus.<br>An extension of the existing Bindplane for Enterprise, the following features are added for scale management and enhanced security.</p><ul><li>Routing</li><li>Data filtering</li><li>Data transformation</li><li>Agent fleet management</li><li>Sensitive data masking</li></ul><h4><strong>Mandiant Threat Defense</strong></h4><p>GA (Generally Available) already.</p><p>Dedicated Mandiant experts provide comprehensive security support, including threat detection, prioritization, and incident response leadership.</p><p>Leveraging both the intelligence accumulated by Mandiant and Google Threat Intelligence, it is characterized by human-led support with AI assistance such as unique case prioritization models.</p><p>AI is also utilized in automated recovery, such as presenting recommendations using SOAR handbooks and Gemini.</p><h3>Security Command Center</h3><p>Model Armor</p><p>GA (Generally Available) already.</p><p>Direct integration with Vertex AI is now possible.</p><p>With Model Armor, it is possible to easily introduce protection measures using presets for risk countermeasures such as prompt injection, and also for the quality of output referred to as responsible AI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*Af4CzRdQkDobu7bgX3ZkhQ.png" /></figure><h4>Data Security Posture Management (DSPM)</h4><p>Scheduled for preview release in June 2025.</p><p>Data Security Posture Management (DSPM) features support the following for data analytics and AI products:</p><ul><li>Discovery and classification of sensitive data</li><li>Data security and compliance adherence</li><li>Monitoring of violations</li><li>Enforcement of data access, flow, storage, and protection</li></ul><h4><strong>Compliance Manager</strong></h4><p>Scheduled for preview release at the end of June 2025.</p><p>Based on Assured Workloads, a workflow integrating policy definition, control setting, implementation, monitoring, and auditing.</p><p>Facilitates compliance monitoring, reporting, and certification for auditors using Audit Manager.</p><h4>Integration with Snyk’s developer security platform</h4><p>GA (Generally Available) already.</p><p>Integration with Gemini Code Assist is now possible.</p><p>Realizes security measures that are a concern with vibe coding in near real-time.</p><p>It is said that the depth of integration will continue to expand in the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zm3ojiPvizhSheOj" /></figure><h4><strong>Security Risk Dashboards</strong></h4><p>GA (Generally Available) already.</p><p>For Google Compute Engine (GCE) and Google Kubernetes Engine (GKE).</p><p>Visualize security risk detections and vulnerabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*55rBP-sqpz0YbSAM" /></figure><h4><strong>Risk Protection Program</strong></h4><p>Provides discounted cyber insurance.</p><p>Offered by Breazley and Chubb.</p><p>A welcome service amidst rising cyber risks.</p><h3><strong>Chrome Enterprise Premium</strong></h3><h4><strong>Employee Phishing Protections</strong></h4><p>Enhanced phishing protection through AI.</p><p>You can now set your own branding and assets, improving detection accuracy for phishing.</p><h4><strong>Data masking</strong></h4><p>GA (Generally Available) already.</p><p>Detailed data loss prevention measures can be implemented within the browser, such as suppressing screenshots or blocking or warning when the content being copied and pasted contains 20 or more email addresses.</p><h4>Expansion to Android devices</h4><p>The functions introduced above, such as copy &amp; paste control and URL filtering (control of specific types of sites), are now also available on Android devices.</p><h3><strong>Mandiant Cybersecurity Consulting</strong></h3><h4><strong>Mandiant Retainer</strong></h4><p>You can get the help of Mandiant’s security experts on demand.</p><p>Use the pre-paid fund.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/0*PF7F3BHnm8pUKxt9" /></figure><h4><strong>Mandiant Consulting is partnering with Rubrik and Cohesity</strong></h4><p>Mandiant is strengthening its services by partnering with Rubrik and Cohesity.</p><p>As part of this initiative, they will offer AI insurance.</p><p>Furthermore, Chubb is also providing coverage for risks arising from quantum exploits, actively supporting measures against the risks of quantum computing attacks.</p><p>Since CRQC (Cryptographically Relevant Quantum Computer) can decipher many current encryption technologies, the National Institute of Standards and Technology (NIST) has indicated a migration plan to phase out some current public key cryptographic systems by 2030, or at the latest by 2035.</p><h3><strong>Sovereign Cloud</strong></h3><h4><strong>S3NS Trusted Cloud</strong></h4><p>Partnering with Thales to launch a preview of S3NS Trusted Cloud, designed to meet France’s highest level of cloud certification.</p><p>As part of a broad portfolio of sovereign cloud solutions, this is the first sovereign cloud based on the Google Cloud platform, operated, majority-owned, and fully controlled by European organizations.</p><p>This seems like it could be a useful reference for designing sovereign cloud services in other countries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*2qkjzZPqLAgN2Lav" /></figure><h3><strong>Identity and Access Management</strong></h3><h4><strong>Unified Access Policies</strong></h4><p>Scheduled for preview release in Q2 (April-June) of 2025.</p><p>Enables IAM allow policies and IAM deny policies within a single definition.</p><p>It is said that granular access control will be applied more consistently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/0*3gtj-8fib3UcZ_NG" /></figure><h4><strong>Managed Workload Identities</strong></h4><p>Currently in preview release.</p><p>SPIFFE-based IDs can be provisioned for workload-to-workload authentication using mutual TLS (mTLS).</p><p>Workload Identity Federation using X.509 certificates is generally available, enhancing workload authentication.</p><p>mTLS, unlike traditional TLS which only authenticates the server side, enables mutual authentication by also authenticating the client side with certificates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/0*USmT46SwRGcDt3yo" /></figure><h3><strong>Data Security</strong></h3><h4>Expansion of Confidential Computing</h4><p>Expanding the provision of Confidential Computing to the nodes mentioned below.</p><p>Confidential Computing refers to data-in-use encryption technology with near-zero performance impact using Confidential VMs, Confidential GKE, Confidential Dataflow, Confidential Dataproc, and Confidential Space.</p><p>(<a href="https://iret.media/101917">Past Verification Blog</a> written in Japanese)</p><p>All of these can be made confidential without code changes.</p><ul><li>Confidential GKE nodes with AMD SEV-SNP and Intel TDX</li></ul><p>Scheduled for GA (Generally Available) in Q2 (April-June) of 2025:</p><ul><li>Confidential GKE nodes with NVIDIA H100 GPUs on A3 machine series</li></ul><p>Scheduled for preview release in Q2 (April-June) of 2025:</p><h4><strong>Sensitive Data Protection discovery service for Vertex AI and Azure Storage</strong></h4><p>GA (Generally Available) already.</p><p>Sensitive Data Protection discovery service is now available for Vertex AI and Azure Storage.</p><p>Continuous data asset monitoring and integration with Security Command Center’s Virtual Red Teaming and AI Protection are now possible.</p><p>Furthermore, Data-in-Motion scanning (pre-save scanning) by Cloud Load Balancing and Secure Web Proxy is scheduled for preview release, and support for Dataplex V2 is also planned for the near future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*V4ffn3_qICre9PIBm-Or3g.png" /></figure><h4><strong>Single-tenant Cloud Hardware Security Module (HSM)</strong></h4><p>Currently in preview.</p><p>Single-tenant Cloud HSM can now be selected.</p><p>Provides a dedicated and isolated HSM cluster managed by Google Cloud, allowing customers full administrative control.</p><h3><strong>Network Security</strong></h3><h4><strong>Network Security Integration</strong></h4><p>Some are GA, some are in preview.</p><p>There are two types of integration modes: out-of-band and in-band.</p><p>Out-of-band mirrors the target traffic and analyzes it offline with a third-party appliance, while in-band analyzes the forwarded traffic inline.</p><p>Both ensure secure transmission tunneled by Geneve.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UCfJLKPYpP2CVM3O" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*odniF7afleLIK2eZ" /></figure><h4><strong>DNS Armor</strong></h4><p>Scheduled for preview release in the second half of 2025.</p><p>Provided by Infoblox Threat Defense.</p><p>Leveraging Infoblox’s deep expertise in DNS-specific threat intelligence and Google Cloud’s scalable infrastructure, DNS Armor provides advanced detection of malicious activity in Google Cloud workloads. Real-time access to DNS threat logs enables early threat detection and proactive security measures.</p><h4>Tiered Policies for Cloud Armor Enterprise</h4><p>Currently in preview.</p><p>Cloud Armor Enterprise (formerly Managed Protection Plus) has added tiered policies for centralized management of an organization’s projects and automatic protection of new projects.</p><h4><strong>Cloud NGFW Enterprise</strong></h4><p>Scheduled for preview release in the second half of 2025.</p><p>Supports L7 domain filtering, which monitors Egress web traffic and restricts it to only authorized destination domains.</p><h4><strong>Security Web Proxy (SWP)</strong></h4><p>Currently in preview.</p><p>Features inline network data loss prevention capabilities through integration with Google’s Sensitive Data Protection and Symantec DLP.</p><h3>Wrap up</h3><p>So many existing updates will be release near future!</p><p>Especially I concern about DSPM &amp; IAM.</p><p>How about you?</p><p>I hope this article helps someone :)</p><h3>Referees</h3><p><a href="https://cloud.google.com/blog/products/identity-security/driving-secure-innovation-with-ai-google-unified-security-next25?e=48754805&amp;hl=en">https://cloud.google.com/blog/products/identity-security/driving-secure-innovation-with-ai-google-unified-security-next25?e=48754805&amp;hl=en</a></p><p><a href="https://cloud.google.com/blog/products/identity-security/cloud-ciso-perspectives-27-security-announcements-next-25?hl=en">https://cloud.google.com/blog/products/identity-security/cloud-ciso-perspectives-27-security-announcements-next-25?hl=en</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=072e03f1a302" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I’ve analyzed AWS security services on MITRE ATT&CK]]></title>
            <link>https://medium.com/@pict3/ive-analyzed-aws-security-services-on-mitre-att-ck-09fdba9ed81a?source=rss-652718c92b4c------2</link>
            <guid isPermaLink="false">https://medium.com/p/09fdba9ed81a</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[mitre-attack]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[pict3]]></dc:creator>
            <pubDate>Mon, 12 Feb 2024 06:09:14 GMT</pubDate>
            <atom:updated>2024-02-12T06:09:14.994Z</atom:updated>
            <content:encoded><![CDATA[<h3>What’s a MITRE ATT&amp;CK ?</h3><p>That are databases which published by MITRE in US.</p><p>They describes detail of attack techniques, controls, related CVSs and more. It’s cool databases, so I can’t believe it’s complimentary.</p><p>They published each public cloud MITRE ATT&amp;CK data including AWS.</p><p><a href="https://mitre-attack.github.io/attack-navigator/#layerURL=https://center-for-threat-informed-defense.github.io/security-stack-mappings/AWS/layers/platform.json">https://mitre-attack.github.io/attack-navigator/#layerURL=https://center-for-threat-informed-defense.github.io/security-stack-mappings/AWS/layers/platform.json</a></p><h3>Analyze</h3><h4>Regulation</h4><p>This time, I wanna analyze it by each AWS services that has written in control section.</p><p>I make the regulation as below.</p><ul><li>Count up the number of appearance</li><li>Don’t count up if that appeared multi tactics</li><li>Lank severity score by value (Minimal=1, Partial=3, Significant=5)</li></ul><h4>Result of analyze</h4><p>Count the number of appearance, severity and categories by controls(AWS services) are as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*mwtKx1zmbtRRQuSgGg3mGQ.png" /></figure><p>The number of appearance Top 10<br>1. Amazon GuardDuty<br>2. AWS Config<br>3. Amazon Virtual Private Cloud<br>4. AWS Network Firewall<br>5. Amazon Inspector<br>6. AWS Security Hub<br>7. AWS IoT Device Defender<br>8. AWS RDS<br>9. AWS Web Application Firewall<br>10. AWS CloudEndure Disaster Recovery</p><h4>Severity score Top 10</h4><p>1. Amazon Virtual Private Cloud<br>2. Amazon GuardDuty<br>3. AWS Config<br>4. AWS Network Firewall<br>5. AWS Security Hub<br>6. Amazon Inspector<br>7. AWS RDS<br>8. AWS Web Application Firewall<br>9. AWS CloudEndure Disaster Recovery<br>10. AWS IoT Device Defender</p><h4>Scatter plot</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*8H8CIHOZU1wIV4MO5BqEMg.png" /></figure><p>It hard to read crowded characters, they seems to be categorize three groups.</p><p>The top rankers who got high score both of appearance and severity are as below.<br>- Amazon Virtual Private Cloud<br>- Amazon GuardDuty<br>- AWS Config<br>- AWS Network Firewall</p><p>Fall short of top rankers, but they shows outstanding score. I call them high rankers.</p><p>- AWS Security Hub<br>- Amazon Inspector</p><h3>Considering</h3><p>Top 10 members of appearance and severity are the same.<br>I describe my opinion for each groups that categorized scatter plot.</p><h4>About top rankers</h4><p>VPC deserves the top rank, because it’s a core architecture of AWS network. No one will doubt it.<br>I applaud GuardDuty and Config.</p><p>GuardDuty, which have announced expanding their functions on re:Invent last year is my highly recommended service. It can’t be perfect protection only itself, but it needs not tuning. Everyone can use it without special knowledge.</p><p>Config is also powerful. But it need setup and tuning for your environment, so you may need security teem or vendor’s help.</p><p>Network Firewall’s power is undoubted, but it needs cost that is not inexpensive. You must weight the value of information that you have to protect against the cost you can pay.</p><h4>About high rankers</h4><p>The AWS resource cost of Inspector and Security Hub are inexpensive, but both of them need knowledge and operation. If you feel it’s difficult, you can use 3rd party tools that might help you.</p><h4>The others</h4><p>I couldn’t expected RDS appearance. I realized the importance of data security.<br>In contrast, I’d expected IAM, AWS WAF and Shield get more high rank.</p><p>Especially IAM was considered overwhelming score. I believe this is why only mapping MITRE ATT&amp;CK regulation, the importance of IAM is not change.</p><p>AWS WAF is also low score, but it is useful and inexpensive. I recommend it.</p><h3>Wrap up</h3><p>It’s just a reference, but I realized interesting result.<br>As I wrote before, some low score service can’t be ignore, but I could visualize the importance of high rankers.<br>I’m happy if this post helps your security!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=09fdba9ed81a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s cost optimization with new BigQuery pricing]]></title>
            <link>https://medium.com/@pict3/lets-cost-optimization-with-new-bigquery-pricing-d24101f0756b?source=rss-652718c92b4c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d24101f0756b</guid>
            <category><![CDATA[bigquery]]></category>
            <category><![CDATA[cost]]></category>
            <category><![CDATA[google-cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[gcp]]></category>
            <dc:creator><![CDATA[pict3]]></dc:creator>
            <pubDate>Sat, 08 Apr 2023 03:42:59 GMT</pubDate>
            <atom:updated>2023-04-08T03:42:59.359Z</atom:updated>
            <content:encoded><![CDATA[<p>New BigQuery pricing has unveiled at Google Data Cloud &amp; AI Summit today!</p><p>That can help our cost if you use effective.</p><p>It is not only heavy users but also light users or beginners. So I’m going to describe the review of basically knowledge for BigQuery. Also, I’ll show how to estimate and the change of the cost with the use of actual dataset which using now.</p><h3>Review of pricing structure</h3><p>First of all, I describe current pricing structure of BigQuery.</p><p>The architecture of BigQuery is separated for storage and computing. Accordingly, The price of BigQuery is that summed up to storage pricing and analysis pricing.</p><p>Storage pricing is the cost for data-size which stored on BigQuery. Data is classified automatically for “Active Storage” and “Long-term Storage”. Active Storage contains tables whose data changed in 90days. Otherwise Long-term Storage. Long-term Storage cost is cheeper than Active one.</p><p>Analysis pricing has two types. On-demand costs by data quantity which scanned. Flat Rate costs by your reserved slots (virtual CPU). You can scan any data no additional cost within the reserved slots.</p><p>Today’s update contains both of Storage pricing and Analysis pricing.</p><h3>The change of Storage pricing</h3><p>The established storage pricing costs by logical data size.</p><p>But actually, BigQuery is storing the data by compressed. Compressed data size is much smaller. It called physical data size.</p><p>Due to this change, the storage costs by physical data size from logical data size. The unit price is rise a bit, but size will be much smaller. So I think general storage cost will be down.</p><p>This is the Previewed function that launched last year, this time it will be GA as the part of BigQuery Editions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3FsApZEII_S0CBQt" /></figure><p>According to this change, Time Travel storage cost and Fail Safe storage cost will add as Active Storage.</p><p>Time travel can rollback data to optional time in Time Travel Window(default 7days). Fail Safe is the back-up of Time Travel.</p><p>Those cost is not big if the data change or delete not so much. Time Travel Window can customize, so you can tuning the cost of it.</p><p>You can use physical storage cost, if the Organization meets as below. To sum up, not using Flat Rate.</p><ul><li>Edditions only</li><li>On-demand only</li><li>Edditions and On-demand</li></ul><p>This change effects for only cost. All data has been compressed already. So this change can’t cause performance effect.</p><h3>The change of Analyze pricing</h3><p>Analyze pricing also has big change!</p><p>First, On-demand price will rise up 25%.Don’t be negative! The main is after this.</p><p>Flat Rate will be closed down. Edditions plan will launch instead of that. I believe this plan is a loss leader!</p><p>Editions has three types, Standard, Enterprise and Enterprise Plus.</p><p>Former Flat Rate is not meet cost for small environment, because monthly cost is not inexpensive. For not constant user, there is the minimum-term plan called Flex Slots. It needs to operation for reservation and assign, so it’s not easy to make substantial use of it.</p><p>Editions make it easier for not constant user. therefore Editions has long-term commit plan. You can use BigQuery lower cost using them.</p><p>I’m going to describe overwhelming cost-optimization with Editions, later.</p><p>I describe about BigQuery AutoScaler that is a function of auto-scaling. You can use BigQuery AutoScaler if you use any plan Editions.</p><h3>BigQuery AutoScaler</h3><p>BigQuery AutoScaler equivalent to Slots AutoScalling which has ben released as Pre-GA.</p><p>As I described as above, Flat Rate is a plan not been cost for scan volume for using reserved slots. Depend on use-case, Flat Rate can realize big cost optimization. But the use-case for batch process which using at only specific time-span, it is hard to use. If you reserve slots for peek time, it is so expensive. Though, if you reserve limited slots, you should have to wait for long time.</p><p>BigQuery AutoScaler helps this use-case.</p><p>It can keep performance and cost thanks for allocating slot dynamically, even under large variations in scan quantity use-case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HwORVfMhNO2i16d8" /></figure><p>This is an example. The blue polygonal line graph is slots usage.</p><p>Autoscaler make slots scale be elastic as usage. The minimum unit is just only 100 slot.</p><p>Scale-up needs time rug for warming up. The Baseline function is to handle that. If you set a Baseline, you can keep specific spec. In above graph use-case, the green broken line is a candidate of Baseline.</p><p>On the other hand, if you use BigQuery in a limited range of time, you would be better set the Baseline zero.</p><p>Max Number Slots is also powerful function. I’ve heard that involuntary scan caused burst BigQuery cost. If you set Max Number Slots, you can avoid burst cost in exchange for scan time. In above graph use-case, the orange line is a candidate of Max Number Slots.</p><h3>Estimate of cost</h3><p>Then, Let’s estimate real environment as former and new pricing, and compare them.</p><h3>Cost of Storage</h3><p>At first, about cost of storage.</p><p>You can get usage of storage by “INFORMATION_SCHEMA.TABLE_STORAGE_BY_*”.</p><p>The query and result which I run are shown below. If you use this, you should change the price for your region.</p><p>“active_physical_bytes” contains the bytes that used for Time Travel, so you don’t need consider it. I couldn’t find information of Fail Safe. There is possibility of adding the cost for Fail Safe, but it’ll be not so much. I guess it’ll be similar to Time Travel bytes.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/30a565ea1d67fc08fd85b2b36194f048/href">https://medium.com/media/30a565ea1d67fc08fd85b2b36194f048/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/0*JSGuVDUeoAtVMpJB" /></figure><p>What!! the cost of storage will be of one tenth or less!!</p><p>The usage of storage is not so large, the price impact is not big. But in the large usage case, this price change will help our cost.</p><h3>Cost of computing</h3><p>I estimated computing cost as on-demand model one month from now .</p><p>The query which I run are shown below. If you use this, you should change the price for your region.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d5d238e524bd9402a8b4538795865bd/href">https://medium.com/media/7d5d238e524bd9402a8b4538795865bd/href</a></iframe><p>The result as below. It is similar to that I can see on Billing dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/0*I6560NEJxl1amHYw" /></figure><p>Then, how Editions effects this cost?</p><p>Let’s check the usage of slots.</p><p>AutoScale expand slots by 100 slots and time interval is about a minute. So, I wrote query as below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ff653c060f6b954298e403f0af4c7010/href">https://medium.com/media/ff653c060f6b954298e403f0af4c7010/href</a></iframe><p>I found some irregular scan, but almost of scans are regular scan and not too long time.</p><p>So I consider it is better to set Baseline zero.</p><p>(I didn’t zero padding, polygonal line graph is not correct.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qLcNrAFf0AB9D2tA" /></figure><p>I used 6,443,900/slot msec in a month.</p><p>As Standard Eddition in Tokyo region($0.051/slot hour), The Computing cost will be just only $0.091!!</p><p>6,443,900 / (1,000 * 60 * 60) *0.051 = $0.091</p><p>In actuality, warm-up needs time, and scale-down slower than scale-up. This estimate is not correct. But BigQuery Edditions has potential for big cost optimisation.</p><h3>Summary</h3><p>For most cases, new storage price will make our storage cost be down. And more, Edditions’s function BigQuery AutoScaler has possibility of a substantial markdown.</p><p>In my case, the results of cost estimate is as below.</p><p>Storage cost: $1.82 → $0.17 (about 90% down)</p><p>Analysis cost: $64.94 → $0.091 (about 99.9% down)</p><p>Go on! The total, 99.6% markdown!!</p><p>It depends on use-cases. Some cases are fit to former On-Demand model can fit your use-case, but there are any more effective case.</p><p>I strongly recommend consider this chance!</p><p>This time, I wrote about BigQuery. All Google Cloud services update quite often. So, catch up them, and Let’s continue optimize your cost!</p><h3>Reference</h3><p><a href="https://cloudonair.withgoogle.com/events/summit-data-cloud-2023">Google Data Cloud &amp; AI Summit</a></p><p><a href="https://cloud.google.com/bigquery/docs/storage_overview">BigQuery overview</a></p><p><a href="https://cloud.google.com/bigquery/pricing">BigQuery pricing</a></p><p><a href="https://cloud.google.com/bigquery/docs/information-schema-table-storage?#forecast_storage_billing">Forcast storage billing</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d24101f0756b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to learn for getting Google Cloud Professional Cloud Database Engineer]]></title>
            <link>https://medium.com/@pict3/how-to-learn-for-getting-google-cloud-professional-cloud-database-engineer-4f6d40032202?source=rss-652718c92b4c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f6d40032202</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[google-cloud]]></category>
            <category><![CDATA[certification]]></category>
            <dc:creator><![CDATA[pict3]]></dc:creator>
            <pubDate>Sun, 28 Aug 2022 07:38:10 GMT</pubDate>
            <atom:updated>2022-08-28T07:38:10.160Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*5hQowmNjx71O_A_RcbNK3w.png" /></figure><p>I tried and got Google Cloud Professional Cloud Database Engineer at beta on this May.</p><p><a href="https://www.cloudskillsboost.google/paths/22">Google provides training on web </a>but it is on a chargeable basis. So I learned by my original curriculum. It helps me for understanding about Database services on Google Cloud. So I share process and note about what to learn. I’ll be happy if this will help anyone:)</p><h3>Learning Process</h3><ol><li>Check the exam guide</li><li>Read the documents</li><li>Re-check the exam guide</li></ol><p>At first, check <a href="https://cloud.google.com/certification/guides/cloud-database-engineer">the exam guide</a> and recognize where you know already or where you have not know yet.<br>After that, read the documents for leaning you have not know. Also Youtube or other tools are helpful for me.<br>You clear lack of understanding, re-check the exam guide.</p><h3>Note</h3><p>Types of database services</p><h4>Relational databases</h4><p>ACID.<br>Cloud SQL, Cloud Spanner, Bare Metal.</p><h4>Non-Relational databases</h4><p>Not ACID. But Firestore has unique ACID.<br>- Document DB: Firestore<br>- Key-value: Bigtable, Memorystore<br>- In-memory: Memorystore<br>- Wide-column DB: Bigtable, (Cassandra, HBase)<br>- Graph DB: (JanusGraph + )Bigtable &lt;as Storage&gt;<br>() … Not Google Cloud</p><p>Migration</p><h4>Database Migration Service</h4><p>Migrate from various source Databases to CloudSQL.</p><h4>Datastream</h4><p>Serverless and easy to use service of Change Data Capture(CDC) and replication. Migrate from Oracle, MySQL and any various DB service.</p><p>Choice</p><p>This page is helpful.</p><p><a href="https://cloud.google.com/blog/topics/developers-practitioners/your-google-cloud-database-options-explained">Your Google Cloud database options, explained | Google Cloud Blog</a></p><p>Table of feature</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fWt8CwJUY2B_AQtZovWAlQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y4bkzrLzdfkxzhF1hF01sA.png" /></figure><h3>Cloud SQL</h3><p>Full managed SQL Database service.<br>This provide MySQL, PostgreSQL, SQL Server.<br>It has auto expanding function of storage.</p><h4>Database Flag</h4><p>The parameters of database engine. When you change this, it may occure reboot. Same as replica.</p><h4>Database authentication</h4><p>Password authentication and IAM authentication(MySQL, PostgreSQL).</p><h4>IAM authentication</h4><p>Expire 1 hour. SSL required.<br>When you create read replica, you must explicitly valid.<br>It can take over in one project, when you restore from backup, but the another project, you must set it.</p><h4>Principal</h4><p>User account and service account only. The other like IAM group is not supported.</p><h4>Role</h4><p>cloudsql.instances.login</p><h4>Resource</h4><p>Project level by default.</p><h4>IAM</h4><p>roles/cloudsql.client</p><pre>Cloud SQL Client<br>Connectivity access to Cloud SQL instances from App Engine and the Cloud SQL Auth proxy. Not required for accessing an instance using IP addresses.<br>cloudsql.instances.connect<br>cloudsql.instances.get</pre><p>roles/cloudsql.instanceUser</p><pre>Cloud SQL Instance User	Role allowing access to a Cloud SQL instance.</pre><pre>cloudsql.instances.get<br>cloudsql.instances.login</pre><p><a href="https://cloud.google.com/sql/docs/mysql/iam-logins">Log in using IAM database authentication | Cloud SQL for MySQL | G…</a></p><p><a href="https://cloud.google.com/sql/docs/mysql/iam-logins">https://cloud.google.com</a></p><h4>Best Practice</h4><p><a href="https://cloud.google.com/sql/docs/mysql/best-practices#tuning-monitoring">General best practices | Cloud SQL for MySQL | Google Cloud</a></p><p><a href="https://cloud.google.com/sql/docs/mysql/best-practices#tuning-monitoring">https://cloud.google.com</a></p><h4>SSL / TLS</h4><h4>Server cert</h4><p>It is made automatically when instance created. server-ca.pem.<br>Expire 10 years later. You don’t need to manage it till expire.(You can change it but need not.)</p><h4>Client cert</h4><p>It can make up to 10 certs by instance.<br>You must have Cloud SQL Admin IAM Role。<br>You not required client cert, but it recommendable.</p><h4>Cloud SQL Auth proxy</h4><p>Connect to Cloud SQL safety. It need not from GAE.<br>It make available IAM auth.<br>Also access by private IP address.<br>You need deploy client at same VPC of Cloud SQL.</p><h3>Encryption</h3><h4>Client-side</h4><p>Write after encrypt. It is must for row-level encrypt.<br>It implement by KMS and Tink liberally.</p><h4>CMEK</h4><p>It can’t use for existing instances. Encrypt take over for replica and clone.</p><p>CMEK set to GCS Bucket for Import/Export.</p><h4>Backup</h4><h4>Point-in-time Recovery</h4><pre>gcloud sql instances clone SOURCE_INSTANCE_NAME \<br>NEW_INSTANCE_NAME \<br>--point-in-time &#39;TIMESTAMP&#39;</pre><h3>Spanner</h3><h4>Replica</h4><h4>Read/Write Replica</h4><ul><li>Have all data</li><li>writable</li><li>Promotable to Leader</li></ul><h4>Read-only Replica</h4><ul><li>Have all data</li><li>can not be writable</li><li>can not bePromotable to Leader</li></ul><h4>Witness Replica</h4><ul><li>No data</li><li>writable</li><li>can not bePromotable to Leader</li></ul><h4>Failover</h4><p><a href="https://cloud.google.com/blog/topics/developers-practitioners/reduce-latency-with-cloud-spanner-multi-region-leader-placement">https://cloud.google.com/blog/topics/developers-practitioners/reduce-latency-with-cloud-spanner-multi-region-leader-placement</a></p><h4>Quantity</h4><p>100 — 1,000</p><h4>How to improve performance</h4><ul><li>Delete hot spot</li><li>Use UUIDv4</li><li>hash based join</li><li>Commit by batch</li><li>partitions count is a multiple of 10 node count</li></ul><h4>Backup</h4><ul><li>Not impact for performance.</li><li>Up to 1 year</li></ul><h4>Import / Export</h4><ul><li>Impact for performance</li><li>Indefinitely</li></ul><h4>Authentication (CMEK)</h4><ul><li>Set when create(can’t apply for existing instance)</li><li>It usr by Backup too</li></ul><h4>Emulator</h4><p>The emulator is released for test API on local. It helps cost.</p><h3>Firestore</h3><h4>Mode</h4><ul><li>Datastore</li><li>Native</li></ul><h4>Best practice</h4><ul><li>Don’t update same document over one time by 1sec.</li><li>Avoide hot spot</li></ul><h4>Refernce vs Snapshot</h4><p>Refernce can update value of original, Snapshot can’t that.</p><h3>Memorystore</h3><h4>Type</h4><ul><li>for Redis</li><li>for Memcached</li></ul><h4>Upgrade</h4><p>When you upgrade database, it temporarily unavailable on Basic tire. If you don’t use RDB Snapshot, all data disappear.<br>If you use Standard tire, availability safe.</p><h3>Bigtable</h3><h4>Component</h4><p>Instances, clusters, nodes. Left-side is upper layer. Cluster is deployed on Availability Zone.</p><h4>Authentication(CMEK)</h4><ul><li>Set when create(can’t apply for existing instance)</li><li>It usr by Backup too</li><li>By Cluster(Can’t by table)</li></ul><h4>TLS</h4><p><a href="http://opentsdb.net/docs/build/html/user_guide/backends/bigtable.html">Bigtable — OpenTSDB 2.4 documentation</a></p><p><a href="http://opentsdb.net/docs/build/html/user_guide/backends/bigtable.html">http://opentsdb.net</a></p><h4>SSD vs HDD</h4><p>SSD by normally. If over 10TB and not need performance, you can choice cheeper HDD.</p><h4>Convert</h4><p>Via Backup data. Can’t directly.</p><h4>FailOver</h4><ul><li>Cut off for several seconds</li><li>No change endpoint</li></ul><h4>Connect</h4><ul><li>Direct peering … VPC Peering</li><li>Private services access … Shared VPC, Inter connect, VPN</li></ul><h4>IAM</h4><h4>reader vs viewer</h4><p>viewer cannot access data</p><h4>Garbage Collection</h4><p>Automatic delete expired data</p><h3>Migration</h3><h4>Database Migration Service</h4><p>Serverless service for migration from on-prem DB to Cloud SQL or GCS</p><h4>Datastream</h4><p>Serverless service for migration from Oracle to Cloud SQL for MySQL and any.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dJsgmofqLVAH2Rj9" /></figure><h4>Compare with Data Fusion</h4><p><a href="https://cloud.google.com/blog/products/vmware-engine/visual-data-with-bigquery-and-google-cloud-vmware-engine">https://cloud.google.com/blog/products/vmware-engine/visual-data-with-bigquery-and-google-cloud-vmware-engine</a></p><h4>to Cloud Spanner</h4><p><a href="https://cloud.google.com/spanner/docs/migrating-mysql-to-spanner">https://cloud.google.com/spanner/docs/migrating-mysql-to-spanner</a></p><h4>DynamoDB to Spanner</h4><p>Batch process</p><ol><li>Load to Amazon S3</li><li>Migrate from Amazon S3 to Cloud Storage(DMS)</li><li>Cloud Storage to Dataflow</li><li>Dataflow to Spanner</li></ol><p>Stream process</p><ol><li>AWS Lambda to Pub/Sub</li><li>Pub/Sub to Dataflow</li><li>Dataflow to Spanner</li></ol><p><a href="https://cloud.google.com/spanner/docs/migrating-dynamodb-to-cloud-spanner">https://cloud.google.com/spanner/docs/migrating-dynamodb-to-cloud-spanner</a></p><h4>HBase to Bigtable</h4><ol><li>Upload snapshot and hash to Cloud Storage</li><li>Make blank table on Bigtable</li><li>import snapshot</li><li>validate by hash</li></ol><p>I wish this post helps anyone:)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f6d40032202" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>