<?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 Nagesh Cherukuri on Medium]]></title>
        <description><![CDATA[Stories by Nagesh Cherukuri on Medium]]></description>
        <link>https://medium.com/@nageshcherukuri?source=rss-c4721383c0db------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*JHlD7XgU2SyoKlky.</url>
            <title>Stories by Nagesh Cherukuri on Medium</title>
            <link>https://medium.com/@nageshcherukuri?source=rss-c4721383c0db------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 01:46:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nageshcherukuri/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[Ways to Adapt Spark Workloads for Snowflake: Spark Connector, Snowpark, and Snowpark Connect…]]></title>
            <link>https://medium.com/snowflake/ways-to-adapt-spark-workloads-for-snowflake-spark-connector-snowpark-and-snowpark-connect-3fbc16b2b46a?source=rss-c4721383c0db------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fbc16b2b46a</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[snowpark]]></category>
            <category><![CDATA[spark]]></category>
            <category><![CDATA[snowflake-data-cloud]]></category>
            <category><![CDATA[apache-spark]]></category>
            <dc:creator><![CDATA[Nagesh Cherukuri]]></dc:creator>
            <pubDate>Thu, 07 Aug 2025 05:47:18 GMT</pubDate>
            <atom:updated>2025-08-15T19:49:27.318Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ways to Adapt Spark Workloads for Snowflake: Spark Connector, Snowpark, and Snowpark Connect Explained</h3><p><em>Disclaimer: I’m a Principal Architect at Snowflake with over 20 years of data strategy, architecture, and engineering experience. The views expressed here are mine alone and do not necessarily reflect the views of my current, former, or future employers.</em></p><h4>Intended Audience:</h4><p>This introductory (100-level ) article is intended for data engineers, analytics engineers, solution architects, and technical leads who are:</p><ul><li>Currently using Apache Spark for data pipelines or ETL.</li><li>Exploring Snowflake as a cloud data platform.</li><li>Planning or executing migrations from Spark clusters (including Databricks or EMR) to Snowflake to improve scalability and operational simplicity.</li><li>Technical decision-makers weighing refactor vs. compatibility strategies for their organization’s data engineering stack.</li></ul><h4>As organizations look to modernize their data platforms and transition to the cloud, many are faced with the challenge of integrating or migrating Spark-based data pipelines to scalable, managed services like Snowflake. The rapid evolution of Snowflake’s extensibility now equips data teams with multiple options for making Spark workloads compatible — without sacrificing productivity or code investments.</h4><p>To make Spark workloads adaptable to Snowflake, in this article, we’ll break down the <strong><em>three</em></strong> primary approaches, each with distinct architecture, API, and migration implications:</p><ol><li>Using the <strong>Snowflake Spark Connector</strong> for hybrid workflows,</li><li>Rewriting pipelines natively with <strong>Snowpark</strong>, and</li><li>Leveraging the breakthrough <strong>Snowpark Connect for Spark</strong> to run Spark code directly on Snowflake’s compute layer.</li></ol><p>Let’s see how each method works, when it’s best suited, and see some code examples to accelerate your own cloud data migration.</p><h3><strong>1. Snowflake Spark Connector</strong></h3><p>The <a href="https://docs.snowflake.com/en/user-guide/spark-connector-overview">Snowflake Spark Connector</a> is an integration that allows Apache Spark to read from and write to Snowflake using the DataFrame API. Jobs execute in Spark, and data is transferred between Spark and Snowflake using a JDBC/connector layer. This is best for ETL jobs that require distributed Spark compute but depend on Snowflake for persistent storage, or for incremental migrations to Snowflake.</p><p><em>· </em><strong><em>When to use:</em></strong><em> When Spark is your main processing engine but you need to stage or integrate with Snowflake.</em></p><p><em>· </em><strong><em>Execution:</em></strong><em> Data processing occurs in Spark clusters; data is loaded in/out of Snowflake via the connector.</em></p><p><em>· </em><strong><em>Key Benefit:</em></strong><em> Keeps your Spark code largely unchanged, easy integration for Spark-native teams.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ggze-bqDWfYuUFLqvJ8nyQ.jpeg" /></figure><p><strong>Example Code (PySpark):</strong></p><pre>from pyspark.sql import SparkSession<br> <br> # Connection options<br> sfOptions = {<br> &quot;sfURL&quot;: &quot;&lt;account&gt;.snowflakecomputing.com&quot;,<br> &quot;sfUser&quot;: &quot;&lt;username&gt;&quot;,<br> &quot;sfPassword&quot;: &quot;&lt;password&gt;&quot;,<br> &quot;sfDatabase&quot;: &quot;&lt;database&gt;&quot;,<br> &quot;sfSchema&quot;: &quot;&lt;schema&gt;&quot;,<br> &quot;sfWarehouse&quot;: &quot;&lt;warehouse&gt;&quot;<br> }<br> <br> # Initialize Spark session with Snowflake connector JARs<br> spark = SparkSession.builder.appName(&quot;spark-snowflake-demo&quot;).getOrCreate()<br> <br> SNOWFLAKE_SOURCE_NAME = &quot;net.snowflake.spark.snowflake&quot;<br> df = spark.read.format(SNOWFLAKE_SOURCE_NAME).options(**sfOptions).option(&quot;dbtable&quot;, &quot;MY_TABLE&quot;).load()<br> df.show()</pre><p>Note:The Snowflake Connector for Spark is not strictly required to connect Snowflake and Apache Spark; other 3rd-party JDBC drivers can be used. However, we recommend using the Snowflake Connector for Spark because the connector, in conjunction with the Snowflake JDBC driver, has been optimized for transferring large amounts of data between the two systems. It also provides enhanced performance by supporting query pushdown from Spark into Snowflake.</p><h3><strong>2. Snowpark</strong></h3><p><a href="https://www.snowflake.com/en/product/features/snowpark/">Snowpark</a> is Snowflake’s native developer API (available in Python, Scala, and Java) that enables you to write procedural data pipelines and transformations within Snowflake. Processing is pushed to Snowflake’s engine — no Spark cluster is required. The API is DataFrame-based and inspired by Spark and Pandas, making refactoring Spark jobs relatively straightforward.</p><p><em>· </em><strong><em>When to use:</em></strong><em> When you want to run transformation logic natively inside Snowflake for better performance, governance, and reduced data movement.</em></p><p><em>The </em><a href="https://docs.snowconvert.com/sma/general/introduction"><em>Snowpark Migration Accelerator (SMA</em></a><em>) helps analyze your source code by creating a detailed model that captures its meaning and purpose. The SMA scans your source code and notebook files to find all Spark API calls. It then converts these Spark API calls to their matching Snowpark API functions when possible.</em></p><p><em>· </em><strong><em>Execution:</em></strong><em> All data processing happens in Snowflake’s engine, which is highly scalable and secure.</em></p><p><em>· </em><strong><em>Key Benefit:</em></strong><em> No Spark orchestration or server management, eliminates data movement and boosts performance for most analytics workloads.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3vM5-C3y6s11C9IRhgTF_g.png" /></figure><p><strong>Example Code (Snowpark Python):</strong></p><pre>from snowflake.snowpark import Session<br> <br> connection_parameters = {<br> &quot;account&quot;: &quot;&lt;account&gt;&quot;,<br> &quot;user&quot;: &quot;&lt;username&gt;&quot;,<br> &quot;password&quot;: &quot;&lt;password&gt;&quot;,<br> &quot;database&quot;: &quot;&lt;database&gt;&quot;,<br> &quot;schema&quot;: &quot;&lt;schema&gt;&quot;,<br> &quot;warehouse&quot;: &quot;&lt;warehouse&gt;&quot;<br> }<br> <br> session = Session.builder.configs(connection_parameters).create()<br> <br> df = session.table(&quot;MY_TABLE&quot;)<br> df = df.filter(df[&quot;AGE&quot;] &gt; 30)<br> df.show()</pre><h3><strong>3. Snowpark Connect for Spark</strong></h3><p><a href="https://docs.snowflake.com/en/developer-guide/snowpark-connect/snowpark-connect-overview">Snowpark Connect for Spark</a> is a compatibility layer introduced in 2025 that enables Spark workloads to run directly on Snowflake’s engine without Spark cluster provisioning or major code rewrites. Spark DataFrame operations are compiled and executed on Snowflake, preserving much of the idiomatic PySpark code and providing a bridge between Spark and Snowflake-native compute.</p><p><em>· </em><strong><em>When to use:</em></strong><em> When you want to migrate Spark jobs to Snowflake for cost, performance, or governance reasons, but prefer to avoid code re-write and skip manual code translation effort to Snowpark DataFrames.</em></p><p><em>· </em><strong><em>Execution</em></strong><em>: Snowflake translates the Spark logical plan to internal Snowpark DataFrame operations, which provide a semantic bridge between Spark and Snowflake’s own distributed processing model. These Snowpark DataFrame operations are then compiled into highly optimized SQL that is executed on Snowflake’s native engine</em></p><p><em>· </em><strong><em>Key Benefit</em></strong><em>: Minimal migration friction — your Spark code is automatically translated and executed within Snowflake, eliminating the need to manage Spark clusters while leveraging Snowflake’s performance, scalability, and governance features.</em></p><p>While this approach makes it easy to migrate existing Spark workloads to Snowflake without major rewrites, it’s important to note a few current limitations so you can make the best choice for your use case. In particular, it may not be the optimal fit if you:</p><ul><li>Require full Spark API compatibility: Today, not all Spark features — especially some specialized APIs — are fully supported. However, Snowflake is continually expanding its compatibility, so the gap is expected to narrow significantly going forward.</li><li>Depend on RDD, MLlib, or GraphX APIs: Functions and workflows using low-level RDDs, Spark MLlib, or GraphX are not yet available through this integration. These are advanced Spark constructs that many teams don’t use day-to-day, but for those who rely on them, it’s best to monitor ongoing Snowflake updates, as broader support is on their roadmap.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*rrxmZz2kj8Ysb13fpR4_dw.png" /></figure><p><strong>Example Code (PySpark using Snowpark Connect):</strong></p><pre>from pyspark.sql import SparkSession<br> <br> # Use Snowpark Connect for Spark session<br> spark = SparkSession.builder \<br> .appName(&quot;SnowparkConnectDemo&quot;) \<br> .config(&quot;spark.sql.catalog.snowflake_catalog&quot;, &quot;com.snowflake.snowpark.connect.SnowflakeCatalog&quot;) \<br> .config(&quot;spark.sql.catalog.snowflake_catalog.sfURL&quot;, &quot;&lt;account&gt;.snowflakecomputing.com&quot;) \<br> .config(&quot;spark.sql.catalog.snowflake_catalog.sfUser&quot;, &quot;&lt;username&gt;&quot;) \<br> .config(&quot;spark.sql.catalog.snowflake_catalog.sfPassword&quot;, &quot;&lt;password&gt;&quot;) \<br> .config(&quot;spark.sql.catalog.snowflake_catalog.sfDatabase&quot;, &quot;&lt;database&gt;&quot;) \<br> .config(&quot;spark.sql.catalog.snowflake_catalog.sfSchema&quot;, &quot;&lt;schema&gt;&quot;) \<br> .config(&quot;spark.sql.catalog.snowflake_catalog.sfWarehouse&quot;, &quot;&lt;warehouse&gt;&quot;) \<br> .getOrCreate()<br> <br> # Read from Snowflake running through Snowpark Connect<br> df = spark.read.table(&quot;snowflake_catalog.&lt;database&gt;.&lt;schema&gt;.MY_TABLE&quot;)<br> df.filter(df[&quot;AGE&quot;] &gt; 30).show()</pre><h4><strong>Summary</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*fL_quH0X6rodTyRlu9Mh0w.png" /></figure><ul><li><strong>Snowflake Spark connector</strong>: Best for external Spark compute with Snowflake storage.</li><li><strong>Snowpark</strong>: Rewrite pipelines to run natively in Snowflake, exploiting its built-in scalability.</li><li><strong>Snowpark Connect</strong>: Migrate Spark jobs to Snowflake compute easily, minimizing rewrite and cluster maintenance.</li></ul><p>Each approach reduces Spark infrastructure burden in different ways and lets you choose between full migration, hybrid, or rapid transition, matching your organization’s pace and priorities.</p><h4>More Resources</h4><ol><li><a href="https://docs.snowflake.com/en/developer-guide/snowpark/index">https://docs.snowflake.com/en/developer-guide/snowpark/index</a></li><li><a href="https://www.snowflake.com/en/blog/snowpark-connect-apache-spark-preview/">https://www.snowflake.com/en/blog/snowpark-connect-apache-spark-preview/</a></li><li><a href="https://docs.snowflake.com/en/developer-guide/snowpark-connect/snowpark-connect-overview">https://docs.snowflake.com/en/developer-guide/snowpark-connect/snowpark-connect-overview</a></li><li><a href="https://www.linkedin.com/posts/snowflake-computing_introducing-snowpark-connect-for-apache-spark-activity-7355946733853421569-sIjf">https://www.linkedin.com/posts/snowflake-computing_introducing-snowpark-connect-for-apache-spark-activity-7355946733853421569-sIjf</a></li><li><a href="https://docs.snowconvert.com/sma/general/introduction">https://docs.snowconvert.com/sma/general/introduction</a></li><li><a href="https://www.snowflake.com/en/blog/free-snowconvert-migrations/">https://www.snowflake.com/en/blog/free-snowconvert-migrations/</a></li><li><a href="https://www.snowflake.com/en/migrate-to-the-cloud/snowconvert-ai/">https://www.snowflake.com/en/migrate-to-the-cloud/snowconvert-ai/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fbc16b2b46a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/snowflake/ways-to-adapt-spark-workloads-for-snowflake-spark-connector-snowpark-and-snowpark-connect-3fbc16b2b46a">Ways to Adapt Spark Workloads for Snowflake: Spark Connector, Snowpark, and Snowpark Connect…</a> was originally published in <a href="https://medium.com/snowflake">Snowflake Builders Blog: Data Engineers, App Developers, AI, &amp; Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hands-on introduction to Iceberg in Snowflake]]></title>
            <link>https://medium.com/@nageshcherukuri/hands-on-introduction-to-iceberg-in-snowflake-d2d049783f46?source=rss-c4721383c0db------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2d049783f46</guid>
            <dc:creator><![CDATA[Nagesh Cherukuri]]></dc:creator>
            <pubDate>Thu, 07 Dec 2023 00:49:29 GMT</pubDate>
            <atom:updated>2023-12-07T21:56:49.211Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Hands-on introduction to Iceberg tables (managed and externally managed) in Snowflake</strong></h3><p><strong><em>Disclaimer: I’m a Principal Architect at Snowflake with over 20 years of data strategy, architecture, and engineering experience. The views expressed here are mine alone and do not necessarily reflect the views of my current, former, or future employers.</em></strong></p><p><strong>What is Iceberg and why do I need it?</strong></p><p>Apache Iceberg is a table format that serves as the layer between storage and compute to provide highly performant analytics at scale on the data lake. Iceberg brings the reliability and simplicity of SQL tables to big data, while making it possible for engines like Spark, Trino, Flink, Presto, Hive and many more to safely work with the same tables, at the same time.</p><p>To facilitate write-intensive workloads, data lakes needed new abstractions between storage and compute to help provide ACID guarantees and performance. And this is what data lake table formats like Iceberg provide: a layer of abstraction for various query engines to look at your data as well-defined tables that can be operated on at scale.</p><p>A catalog is a key component which provides a unified view of all the tables in your data lake, ensuring atomicity and consistency in read-write operations. Iceberg supports a number of catalogs including Hive Metastore, AWS Glue, Snowflake Catalog, Nessie, or a table in an RDBMS through JDBC connect. The essential requirement for a catalog is that it must support atomic transactions to properly execute atomic Iceberg table commits and read serializable isolation. Iceberg benefits include among many others are: 1.Partition evolution, 2.Hidden partitioning, 3.ACID compliance, 4.Time Travel &amp; 5.Flexible/Expressive SQL.</p><p><strong>Snowflake Public Preview — December 2023</strong></p><p>As of this publication, Snowflake has made <a href="https://docs.snowflake.com/user-guide/tables-iceberg">Iceberg Tables available</a> (Public Preview). This means you can use any CSP cloud storage (AWS, Azure, GCP) to store Iceberg data while gaining the performance and other benefits of Snowflake (e.g., security, governance, sharing.)</p><p>A key advantage of Iceberg support in Snowflake is its commitment to eliminating data movement. Traditional data warehousing solutions often require extensive data shuffling to optimize performance or facilitate updates. However, with Iceberg support, Snowflake minimizes data movement by leveraging its unique architecture, ensuring that data stays in place, reducing latency, and optimizing overall query performance. This approach is particularly valuable in scenarios where maintaining real-time data integrity is paramount. Whether you’re accustomed to using Snowflake’s native engine (Snowsight), Apache Spark, or other query engines, Iceberg support ensures compatibility and performance across the board. This versatility opens up new possibilities for organizations with diverse data processing requirements, allowing them to leverage the power of Snowflake without compromising on their preferred tools.</p><h4><strong>Type of Iceberg tables supported by Snowflake</strong></h4><p>Snowflake’s strategy of <a href="https://www.snowflake.com/blog/unifying-iceberg-tables/">unifying Iceberg Tables</a>, is defined here. There are two catalog configurations for an Iceberg Table as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UXD2XNsyhG4HTFsZNWgYmg.png" /></figure><blockquote>Reference: <a href="https://www.snowflake.com/snowday/americas-agenda?agendaPath=session/1230109">Snowday Deep Dive:</a> Snowflake for All Architectures: Data Warehouse, Data Lake, Data Lakehouse, Data Mesh presentation from Snowflake.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*scahsbvY-9-0inKLbBgOQA.png" /></figure><p><strong>Scope of the article</strong>: In this medium article, we’ll delve into the intricacies of Iceberg support in Snowflake, focusing on the distinctions between Snowflake-managed and externally managed tables, all while highlighting the unique advantage of eliminating data movement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*4eaJy8qME0NScU9xZTZt1w.png" /></figure><p>By the end of this article, would like to show how I implemented of what’s shown above from public <a href="https://docs.snowflake.com/user-guide/tables-iceberg">Snowflake documentation</a>:</p><ol><li><strong><em>Create externally managed Iceberg table using AWS EMR Spark as compute engine and AWS Glue as the Iceberg catalog with S3 as the object storage.</em></strong></li><li><strong><em>Read only access on externally managed Iceberg table using Snowflake as the query engine through external volume and catalog integration.</em></strong></li><li><strong><em>Convert externally managed Iceberg table to Snowflake managed Iceberg table. The catalog is now changed to snowflake_catalog. So that I can perform read, write, time travel and schema evolution on Snowflake managed table from Snowflake query engine.</em></strong></li><li><strong><em>Finally, read Snowflake-managed table from AWS EMR Spark engine.</em></strong></li></ol><h4><strong>Prerequisites</strong></h4><p>Before getting started, here’s a list of the prerequisites:</p><ul><li>A Snowflake account with ACCOUNTADMIN privilege. A <a href="https://signup.snowflake.com/">free trial</a> will suffice. <a href="https://docs.snowflake.com/en/user-guide/intro-editions#standard-edition">Standard Edition</a> will work for most of this lab, but if you want to try governance features, you will need <a href="https://docs.snowflake.com/en/user-guide/intro-editions#enterprise-edition">Enterprise</a> or <a href="https://docs.snowflake.com/en/user-guide/intro-editions#business-critical-edition">Business Critical Edition</a>.</li><li>A storage bucket with the same cloud provider in the same region that hosts your Snowflake account above. Direct credential access is required as storage integrations are not supported for External Volumes. I have chosen AWS as my cloud provider for this hands-on.</li><li>Access to create and use AWS EMR cluster, S3, and Athena.</li><li>You’ll need permission to create IAM roles, policies, and permissions on object storage.</li></ul><h4><strong>Setting the Environment</strong></h4><p>Let’s create the DB and User using Snowflake Snowsight worksheet.</p><p>Log into your Snowflake account, open a new worksheet and name it as “sf_iceberg_lab”.</p><p><strong><em>Note: Please REPLACE all the variables between &lt;&lt;&gt;&gt; tags as you go through the hands-on-lab.</em></strong></p><pre>use role accountadmin;<br>-- Create and use warehouse and db.<br>create or replace database &lt;&lt;my_database&gt;&gt;;<br>create or replace warehouse &lt;&lt;my_warehouse&gt;&gt;;<br>use database &lt;&lt;my_database&gt;&gt;;<br>use warehouse &lt;&lt;my_warehouse&gt;&gt;;<br><br><br>--create a new user and role for AWS EMR Spark to access SF.<br>USE ROLE SECURITYADMIN;<br>CREATE OR REPLACE USER &lt;&lt;SF_USER&gt;&gt; PASSWORD = &lt;&lt;SF_PASSWORD&gt;&gt;;<br>CREATE ROLE ICEBERG_ROLE;<br>GRANT ROLE ICEBERG_ROLE TO USER &lt;&lt;SF_USER&gt;&gt;;</pre><p>The next step is to set up the environment with AWS EMR, Spark and AWS Glue catalog, and the object storage, S3.</p><p>Let’s create an EMR on EC2 cluster with the following Software settings. To use the Snowflake Iceberg Catalog SDK, all you have to do is specify a few configurations to your Spark cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*ZOXWshbir1hqyNiEBga-sw.png" /></figure><p>Variables:</p><blockquote>Create a bucket to store the data in S3 and use that for &lt;&lt;ICEBERG_BUCKET&gt;&gt; in the variable shown below.</blockquote><blockquote>&lt;&lt;SF_USER&gt;&gt; and &lt;&lt;SF_PASSWORD&gt;&gt; are Snowflake username and password created from the previous step in Snowsight.</blockquote><blockquote>&lt;&lt;SF_CATALOG_URI&gt;&gt; is your account URL from Snowflake, would be something like this <a href="https://poa84683.snowflakecomputing.com/">https://abc12345.snowflakecomputing.com</a>. Change it to: <strong><em>jdbc:snowflake://&lt;&lt;ABC12345&gt;&gt;.snowflakecomputing.com</em></strong></blockquote><p>Please make sure that you are using the same versions otherwise you might run into dependency mismatches , if you choose to go with different versions: Ex: EMR release version, Spark and other dependent libraries set in software settings below.</p><pre>[<br>{<br>&quot;Classification&quot;: &quot;spark-defaults&quot;,<br>&quot;Properties&quot;: {<br>&quot;spark.jars.packages&quot;: &quot;org.apache.iceberg:iceberg-spark-runtime-3.3_2.13:1.4.0,net.snowflake:snowflake-jdbc:3.14.2,software.amazon.awssdk:bundle:2.20.160,software.amazon.awssdk:url-connection-client:2.20.160&quot;,<br>&quot;spark.sql.catalog.glue&quot;: &quot;org.apache.iceberg.spark.SparkCatalog&quot;,<br>&quot;spark.sql.catalog.glue.catalog-impl&quot;: &quot;org.apache.iceberg.aws.glue.GlueCatalog&quot;,<br>&quot;spark.sql.catalog.glue.io-impl&quot;: &quot;org.apache.iceberg.aws.s3.S3FileIO&quot;,<br>&quot;spark.sql.catalog.glue.warehouse&quot;: &quot;<strong>&lt;&lt;ICEBERG_BUCKET&gt;&gt;</strong>/&quot;,<br>&quot;spark.sql.catalog.snowflake_catalog&quot;: &quot;org.apache.iceberg.spark.SparkCatalog&quot;,<br>&quot;spark.sql.catalog.snowflake_catalog.catalog-impl&quot;: &quot;org.apache.iceberg.snowflake.SnowflakeCatalog&quot;,<br>&quot;spark.sql.catalog.snowflake_catalog.io-impl&quot;: &quot;org.apache.iceberg.aws.s3.S3FileIO&quot;,<br>&quot;spark.sql.catalog.snowflake_catalog.jdbc.user&quot;: &quot;<strong>&lt;&lt;SF_USER&gt;&gt;</strong>&quot;,<br>&quot;spark.sql.catalog.snowflake_catalog.jdbc.password&quot;: &quot;<strong>&lt;&lt;SF_PASSWORD&gt;&gt;</strong>&quot;,<br>&quot;spark.sql.catalog.snowflake_catalog.jdbc.role&quot;: &quot;ICEBERG_ROLE&quot;,<br>&quot;spark.sql.catalog.snowflake_catalog.uri&quot;: &quot;<strong>&lt;&lt;SF_CATALOG_URI&gt;&gt;</strong>&quot;,<br>&quot;spark.sql.defaultCatalog&quot;: &quot;glue&quot;,<br>&quot;spark.sql.sources.partitionOverwriteMode&quot;: &quot;dynamic&quot;<br>}<br>}<br>]</pre><p>If you notice, we created two catalogs -1/glue and 2/snowflake_catalog and provided required implementation bundles and made glue as our default catalog to start with.</p><p>Finally we need to make sure we provide sufficient permissions for both query engines to access S3 and Glue appropriately.</p><p>Let’s add permissions for EMR-DefaultRole so that spark can get access to the S3 bucket.</p><ol><li>Allow EMR cluster to access the iceberg bucket. Add this as a permissions policy to EMR_DefaultRole.</li></ol><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Sid&quot;: &quot;VisualEditor0&quot;,<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: &quot;s3:*&quot;,<br>            &quot;Resource&quot;: [<br>                &quot;arn:aws:s3:::&lt;&lt;ICEBERG_BUCKET&gt;&gt;&quot;,<br>                &quot;arn:aws:s3:::&lt;&lt;ICEBERG_BUCKET&gt;&gt;/*&quot;<br>            ]<br>        }<br>    ]<br>}</pre><p>Create a IAM role in AWS , &lt;&lt;SNOWFLAKE_ROLE&gt;&gt; and assign the following permissions policies to the role. We will use this IAM role from Snowflake to create external volume, catalog integration and access the data. Let’s add two policies to the role which will eventually be used by Snowflake to access S3.</p><p>2. AllowGlueCatalogTable access</p><pre>{<br> &quot;Version&quot;: &quot;2012-10-17&quot;,<br> &quot;Statement&quot;: [<br>  {<br>   &quot;Sid&quot;: &quot;AllowGlueCatalogTableAccess&quot;,<br>   &quot;Effect&quot;: &quot;Allow&quot;,<br>   &quot;Action&quot;: [<br>    &quot;glue:GetTable&quot;,<br>    &quot;glue:GetTables&quot;<br>   ],<br>   &quot;Resource&quot;: [<br>    &quot;arn:aws:glue:*:123456789012:table/*/*&quot;,<br>    &quot;arn:aws:glue:*:123456789012:catalog&quot;,<br>    &quot;arn:aws:glue:*:123456789012:database/nyctaxi&quot;<br>   ]<br>  }<br> ]<br>}</pre><p>3. Allow S3 access, you could make this more restrictive with least permissions.</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: [<br>                &quot;s3:PutObject&quot;,<br>                &quot;s3:GetObject&quot;,<br>                &quot;s3:GetObjectVersion&quot;,<br>                &quot;s3:DeleteObject&quot;,<br>                &quot;s3:DeleteObjectVersion&quot;<br>            ],<br>            &quot;Resource&quot;: &quot;arn:aws:s3:::&lt;&lt;ICEBERG_BUCKET&gt;&gt;/*&quot;<br>        },<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: [<br>                &quot;s3:ListBucket&quot;,<br>                &quot;s3:GetBucketLocation&quot;<br>            ],<br>            &quot;Resource&quot;: &quot;arn:aws:s3:::&lt;&lt;ICEBERG_BUCKET&gt;&gt;&quot;,<br>            &quot;Condition&quot;: {<br>                &quot;StringLike&quot;: {<br>                    &quot;s3:prefix&quot;: [<br>                        &quot;*&quot;<br>                    ]<br>                }<br>            }<br>        }<br>    ]<br>}</pre><p><strong>Step 1: Start the EMR cluster (~10 Min) and spark session in the EMR notebook attached to the EMR cluster.</strong></p><pre>Spark</pre><p><strong>Create a Database, load the data to a data frame from open data set in S3 and create an Iceberg table using glue as the catalog.</strong></p><p>AWS S3 hosts many free and open-source data sets with consent from the providers. One such data set is <a href="https://aws.amazon.com/marketplace/search/results?searchTerms=nyc-tlc">NYC taxi data</a>, which you can read more about <a href="https://aws.amazon.com/marketplace/search/results?searchTerms=nyc-tlc">here</a>. We will use the yellow taxi trips data set from your AWS account. You can verify your access from your AWS account by visiting the following location.<a href="https://s3.console.aws.amazon.com/s3/buckets/nyc-tlc"><strong>https://s3.console.aws.amazon.com/s3/buckets/nyc-tlc</strong></a></p><p>Read the parquet file from <em>s3://nyc-tlc/trip data/yellow_tripdata_YYYY-MM.parquet</em>, where I picked 2023/01 data.</p><pre>spark.sql(&quot;CREATE DATABASE nyctaxi&quot;)<br>val df = spark.read.parquet(&quot;s3://nyc-tlc/trip data/yellow_tripdata_2023–01.parquet&quot;)<br>df.writeTo(&quot;glue.nyctaxi.trips&quot;).create()</pre><figure><img alt="S3 bucket with data loaded" src="https://cdn-images-1.medium.com/max/1024/1*VBWK7Y0khISjIL0X87PkXQ.png" /><figcaption>S3 bucket with data loaded via Glue catalog as an Iceberg table.</figcaption></figure><p><strong>Count the number of records loaded</strong></p><pre>spark.sql(&quot;&quot;&quot;<br>SELECT COUNT(*) as cnt<br>FROM glue.nyctaxi.trips<br>&quot;&quot;&quot;).show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/1*GGsm6A7tgLSFXeAJpP1Jpw.png" /></figure><p><strong>Read the top 10 records</strong></p><pre>spark.sql(&quot;&quot;&quot;<br>SELECT *<br>FROM glue.nyctaxi.trips limit 10<br>&quot;&quot;&quot;).show()</pre><p><strong>Insert Records and verify that we are able to write with a count.</strong></p><pre>spark.sql(&quot;INSERT INTO glue.nyctaxi.trips SELECT * FROM glue.nyctaxi.trips limit 10&quot;)<br><br>spark.sql(&quot;&quot;&quot;<br>SELECT COUNT(*) as cnt<br>FROM glue.nyctaxi.trips<br>&quot;&quot;&quot;).show()</pre><blockquote>Note: Inserted the top 10 read from the same trips table for simplicity.</blockquote><p><strong>History</strong></p><p>Check the number of snapshots after we performed an insert.</p><pre>spark.sql(&quot;&quot;&quot;<br>SELECT *<br>FROM glue.nyctaxi.trips.history<br>&quot;&quot;&quot;).show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*vdU20yMdivvbg093Z-uvoA.png" /></figure><p><strong>Step 2: </strong>Now switchover here to Snowflake Snowsight and open the worksheet we created earlier, which is “sf_iceberg_lab”.</p><p><a href="https://docs.snowflake.com/en/user-guide/tables-iceberg-configure-external-volume">Create the external volume for your Iceberg data</a>. This is similar to a Storage Integration, but is specific to Iceberg tables. Please click the link to public Snowflake documentation to learn more on how to configure external volume.</p><pre>use role accountadmin;<br>  CREATE OR REPLACE EXTERNAL VOLUME iceberg_external_volume<br>   STORAGE_LOCATIONS =<br>      (<br>         (<br>            NAME = &#39;my-s3_iceberg-us-west-2&#39;<br>            STORAGE_PROVIDER = &#39;S3&#39;<br>            STORAGE_BASE_URL = &#39;s3://&lt;&lt;ICEBERG_BUCKET&gt;&gt;/&#39;<br>            STORAGE_AWS_ROLE_ARN = &#39;arn:aws:iam::123456789012:role/&lt;&lt;SNOWFLAKE_ROLE&gt;&gt;&#39;<br>         )<br>      );</pre><p>Update the IAM role trust policy in S3 to grant access to Snowflake.</p><pre>--DESCRIBE EXTERNAL VOLUME to get the user arn and externalID for trust relationship<br>DESC EXTERNAL VOLUME iceberg_external_volume;</pre><p>Something similar to what you see below from the output of DESC command needs to be updated in the AWS IAM role’s trust policy.</p><pre>&quot;STORAGE_AWS_IAM_USER_ARN&quot;:&lt;&lt;&quot;arn:aws:iam::123456789012:user/a2bc-s-b3ab1234&quot;&gt;&gt;,<br>&quot;STORAGE_AWS_EXTERNAL_ID&quot;:&lt;&lt;&quot;ABC12345_SFCRole=2_cAbcdEFGhiIJklmMsnOPy+r34ts=&quot;&gt;&gt;</pre><p><a href="https://docs.snowflake.com/en/user-guide/tables-iceberg-configure-catalog-integration">Create Glue Catalog Integration</a></p><pre>--CREATE glue catalog integration<br>CREATE OR REPLACE CATALOG INTEGRATION glueCatalogInt<br>  CATALOG_SOURCE=GLUE<br>  CATALOG_NAMESPACE=&#39;nyctaxi&#39;<br>  TABLE_FORMAT=ICEBERG<br>  GLUE_AWS_ROLE_ARN = &#39;arn:aws:iam::&lt;&lt;AWS_ACCOUNT_ID&gt;&gt;:role/&lt;&lt;SNOWFLAKE_ROLE&gt;&gt;&#39;<br>  GLUE_CATALOG_ID=&lt;&lt;&#39;123456789012&#39;&gt;&gt;<br>  GLUE_REGION=&#39;us-west-2&#39;<br>  ENABLED=TRUE;<br><br>--DESCRIBE catalog integration to get the user arn and externalID for trust relationship<br>DESCRIBE CATALOG INTEGRATION glueCatalogInt;</pre><p>In the output, please capture the following two variables to update the AWS IAM role’s trust policy.</p><pre>GLUE_AWS_IAM_USER_ARN String &lt;&lt;arn:aws:iam::123456789012:user/a2bc-s-b3ab1234&gt;&gt;<br>GLUE_AWS_EXTERNAL_ID String &lt;&lt;ABC12345_SFCRole=3_aBCdEsfgChi4jGyqgrtyF+Htryr=&gt;&gt;</pre><p>Add the variables to the trust policy in trust relations attached to the role as shown below. Add both externalIds to assume the role when calling from Snowflake.</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Principal&quot;: {<br>                &quot;AWS&quot;: &quot;&lt;&lt;arn:aws:iam::123456789012:user/a2bc-s-b3ab1234&gt;&gt;&quot;<br>            },<br>            &quot;Action&quot;: &quot;sts:AssumeRole&quot;,<br>            &quot;Condition&quot;: {<br>                &quot;StringEquals&quot;: {<br>                    &quot;sts:ExternalId&quot;: [<br>                        &quot;&lt;&lt;ABC12345_SFCRole=2_cAbcdEFGhiIJklmMsnOPy+r34ts=&gt;&gt;&quot;,<br>                        &quot;&lt;&lt;ABC12345_SFCRole=3_aBCdEsfgChi4jGyqgrtyF+Htryr=&gt;&gt;&quot;<br>                    ]<br>                }<br>            }<br>        }<br>    ]<br>}</pre><p>Now you are ready to create an Iceberg table in Snowflake using the volume and the gluecatalogInt created earlier.</p><pre>create or replace ICEBERG table sf_trips<br> catalog_table_name= &#39;trips&#39;<br> catalog = &#39;glueCatalogInt&#39;<br> external_volume = &#39;iceberg_external_volume&#39;</pre><p>Let’s verify we can read the table sf_trips with a count from Snowflake Snowsight.</p><pre>select count(*) from sf_trips;</pre><p>Select few records from the table sf_trips.</p><pre>select * from sf_trips LIMIT 10;</pre><p><em>Note: Switch here to AWS EMR notebook and issue an insert command and verify whether we can read the newly inserted data from Snowflake.</em></p><pre>spark.sql(&quot;INSERT INTO glue.nyctaxi.trips SELECT * FROM glue.nyctaxi.trips limit 10&quot;)</pre><p>Switch back to Snowflake Snowsight to verify the inserted data is readable from Snowflake. Instead of auto-refreshing, Snowflake provides users with the control to trigger metadata refreshes when needed. This approach enhances predictability and allows organizations to manage their resources efficiently. So when new records are inserted via EMR Spark , you need to manually issue ALTER ICEBERG command to refresh the data.</p><pre>ALTER ICEBERG table sf_trips refresh;</pre><p>Now read the table again to verify the updated count after inserting records from AWS EMR Spark engine.</p><pre>select count(*) from sf_trips;</pre><p><strong>Step 3:</strong> Convert externally managed iceberg table to Snowflake-managed Iceberg table using the following command in Snowsight. There’s no data copy or movement when converting to Snowflake managed Iceberg table.</p><pre>ALTER ICEBERG TABLE sf_trips CONVERT TO MANAGED BASE_LOCATION = &#39;&#39;</pre><p>Once you converted the table now you can insert data into it using Snowflake as the engine. <em>Note: From here on you should stop issuing any write operations from EMR Spark to Glue at this point, as you could corrupt the table until Spark is repointed to the Snowflake catalog.</em></p><pre>INSERT INTO sf_trips SELECT * FROM sf_trips limit 10;</pre><p><strong>Time travel</strong></p><p>Benefits of the additional metadata that table formats like Iceberg and Snowflake’s provide are, for example, time travel. Now verify this with a simple count of records, before and after update.</p><pre>select<br>    count(*) as after_row_count<br>    , before_row_count<br>from sf_trips<br>join (<br>        select count(*) as before_row_count<br>        from sf_trips before(statement =&gt; LAST_QUERY_ID())<br>    )<br>    on 1=1<br>group by 2;</pre><p>Then, you can see that the row count has increased by 10 compared to the previous version of the table:</p><h4>Iceberg table Schema Evolution</h4><p>Iceberg schema updates are metadata changes, so no data files need to be rewritten to perform the update. Iceberg supports column add, drop, rename, update, reorder, and certain data types upgrades.</p><p>Let’s add a column called fare-per_mile and update the value to fare_amount/distance for all trips where distance is not zero.</p><pre><br>alter iceberg table sf_trips add fare_per_mile float;<br><br>UPDATE sf_trips SET fare_per_mile = fare_amount/trip_distance where trip_distance &lt;&gt; 0;<br><br>select * from sf_trips where trip_distance &lt;&gt; 0 LIMIT 10;</pre><p>Grant permissions to ICEBERG_ROLE on volume, DB, schema and Iceberg table, through which we allow AWS EMR Spark to read the data.</p><pre>--Grant external volume, DB, and table to the new role<br>use role accountadmin;<br>grant usage on external volume iceberg_external_volume to role ICEBERG_ROLE;<br>grant usage on database &lt;&lt;my_database&gt;&gt; to role ICEBERG_ROLE;<br>grant usage on schema &lt;&lt;my_database&gt;&gt;.public to role ICEBERG_ROLE;<br>grant select on table &lt;&lt;my_database&gt;&gt;.public.sf_trips to role ICEBERG_ROLE;<br><br>--Verify the metadata and location in S3.<br>SELECT SYSTEM$GET_ICEBERG_TABLE_INFORMATION(&#39;sf_trips&#39;)</pre><p>Verify the metadata and location in S3 with the following output as shown below</p><pre>//Output of Iceberg table information<br>{&quot;metadataLocation&quot;:&quot;s3://&lt;&lt;ICEBERG_BUCKET&gt;&gt;/sf_trips123..333/metadata/v17016729939000000.metadata.json&quot;,&quot;status&quot;:&quot;success&quot;}</pre><p><strong>Step 4: </strong>We switch back to our EMR notebook/hub in AWS to read Snowflake-managed table using EMR Spark query engine..</p><p>Disable the vectorized reads for your session to not receive vectorized read errors by configuring:</p><pre>spark.sql(&quot;SET spark.sql.iceberg.vectorization.enabled=false&quot;)</pre><p>Otherwise when reading from Spark, you could run into error like below</p><pre>ERROR BaseDataReader: Error reading file: s3://****/temp-testing-aa/default.db/iceberg_demo/data/category=CAT5/ff78aec0-344e-489a-9206-ab977cd9897b.gz.parquet<br>java.lang.UnsupportedOperationException: Cannot support vectorized reads for column [email] optional binary email (STRING) = 1 with encoding DELTA_BYTE_ARRAY. Disable vectorized reads to read this table/file<br> at org.apache.iceberg.arrow.vectorized.parquet.VectorizedPageIterator.initDataReader(VectorizedPageIterator.java:96)<br> at org.apache.iceberg.parquet.BasePageIterator.initFromPage(BasePageIterator.java:136)</pre><p>Read the Snowflake Iceberg table by <strong>switching to Snowflake catalog</strong>.</p><pre>#Set the catalog to snowflake catalog in AWS EMR Spark session in the same notebook<br>spark.sessionState.catalogManager.setCurrentCatalog(&quot;snowflake_catalog&quot;)</pre><p><strong><em>Note</em></strong><em>: Please re-run the above command twice if you run into errors.</em></p><p>Spark can read the table by getting snapshot information from Snowflake, and reading metadata and data files directly from object storage.</p><pre><br><br>#verify you can view the namespaces and tables from Snowflake.<br>#Explore Metadata Queries using Spark SQL<br>spark.sql(&quot;SHOW NAMESPACES&quot;).show()<br>spark.sql(&quot;SHOW NAMESPACES IN &lt;&lt;my_database&gt;&gt;&quot;).show()<br>spark.sql(&quot;USE &lt;&lt;my_database&gt;&gt;.public&quot;).show()<br>spark.sql(&quot;SHOW TABLES&quot;).show()<br></pre><p>Finally read the data from sf_trips, Snowflake-managed Iceberg table from AWS EMR.</p><pre>spark.sql(&quot;SELECT * FROM &lt;&lt;my_database&gt;&gt;.PUBLIC.sf_trips LIMIT 10&quot;).show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ssISsPYL1CnvDz0XXmKNQ.png" /></figure><p><strong>Clean up</strong></p><ol><li>Terminate the EMR cluster, delete the S3 bucket.</li><li>Cleanup the snowflake objects</li></ol><pre>use role sysadmin;<br><br>drop database &lt;&lt;my_database&gt;&gt;;<br>drop warehouse &lt;&lt;my_warehouse&gt;&gt;;</pre><p><strong>Conclusion</strong></p><p>To conclude, have shown how I implemented the following</p><ol><li>Import a parquet file from an S3 location, create Iceberg tables with AWS EMR as the query engine, with Glue as the catalog (<strong>externally managed Iceberg table</strong>), and read from/write to the Iceberg table.</li><li>Access (read) the externally managed Iceberg table from Snowflake.</li><li>Convert it to a Snowflake-managed<strong> Iceberg table without any data movement. </strong>Verified time travel and schema evolution on the Iceberg table.</li><li>Finally, access the Snowflake-managed Iceberg table from AWS EMR Spark using snowflake_catalog.</li></ol><p>To keep this hands-on lab short and focused on externally managed and Snowflake-managed iceberg tables, I haven’t dived deep into features Snowflake provides, such as RBAC, Dynamic Data Masking, Row level security, Column level security and many more.</p><p>However, since this is a Public Preview, we should expect a few limitations, which are called out in Snowflake documentation under <a href="https://docs.snowflake.com/en/user-guide/tables-iceberg">considerations and limitations</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2d049783f46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Path to AWS Certified Solutions Architect — Professional certification?]]></title>
            <link>https://medium.com/@nageshcherukuri/path-to-aws-certified-solutions-architect-professional-certification-95d549f6b99?source=rss-c4721383c0db------2</link>
            <guid isPermaLink="false">https://medium.com/p/95d549f6b99</guid>
            <category><![CDATA[aws-professional]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[aws-architect]]></category>
            <dc:creator><![CDATA[Nagesh Cherukuri]]></dc:creator>
            <pubDate>Wed, 25 Apr 2018 23:36:14 GMT</pubDate>
            <atom:updated>2018-05-02T15:42:56.164Z</atom:updated>
            <content:encoded><![CDATA[<p>Cleared <strong>AWS Certified Solutions Architect — Associate in April 2017 and AWS Certified Solutions Architect — Professional in April 2018.</strong></p><p><strong>My road to certification:</strong></p><p>By no means, my knowledge is where it needs to be and believe that comes with loads of hands on experience. The certification preparation will help you get your feet wet and peek into vast landscape of AWS. As we all know every company needs to have digital presence ie their application on web &amp; mobile to succeed in the current world. All these existing/upcoming firms aren’t planning to setup their own datacenter to run their websites/applications. And hence public cloud gained/ is gaining prominence. And in the public cloud space AWS commands a sizeable lead in market share as shown from market survey below..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*0KsCQSVdeLYAk11zB_QmHg.png" /></figure><p>Having said that and taking my experience of migrating huge workload into AWS, decided to put together some of my thoughts on how one can achieve this certification.</p><p>To achieve <strong>AWS Certified Solutions Architect — Professional</strong> there are pre-requisites. You need to first know the landscape/roadmap of AWS certifications. Please refer <a href="https://aws.amazon.com/certification/">https://aws.amazon.com/certification/</a> for more details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0gys_ZuCgFJI5nEujDsxlQ.png" /></figure><p>Eligibility Requirements to sit for <strong>Certified SA- Professional:</strong></p><ul><li><em>Achieved</em> <a href="https://aws.amazon.com/certification/certified-solutions-architect-associate/"><em>AWS Certified Solutions Architect — Associate</em></a></li><li><em>Two or more years of hands-on experience designing and deploying cloud architecture on AWS</em></li><li><em>Abilities to evaluate cloud application requirements and make architectural recommendations for implementation, deployment, and provisioning applications on AWS</em></li><li><em>Capabilities to provide best practices guidance on the architectural design across multiple applications, projects, or the enterprise</em></li></ul><p>Exam Overview/Format:</p><ul><li><em>77 Multiple-choice &amp; Multiple answer questions</em></li><li><em>170 min to complete the exam</em></li></ul><p>Exam Registration Fee</p><ul><li><em>Exam registration fee is USD 300</em></li></ul><p><strong>Syllabus</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EGoNiDW_G0p0ZJG0LaXDqg.png" /></figure><p>More detailed requirements on each topic is listed here on AWS website:Ref:<a href="https://d1.awsstatic.com/Train%20%26%20Cert/docs/AWS_certified_solutions_architect_professional_blueprint.pdf">https://d1.awsstatic.com/Train%20%26%20Cert/docs/AWS_certified_solutions_architect_professional_blueprint.pdf</a></p><p><strong><em>Length of study</em></strong><em> </em>— It took me 4 weeks of study for almost 6 hrs a day excluding weekends.</p><p><strong><em>My curated resource links to repository/path to Study(not exhaustive)</em></strong><em>-</em></p><p>* <a href="https://aws.amazon.com/"><em>AWS console</em></a></p><p>* <a href="https://linuxacademy.com/amazon-web-services/training/course/name/aws-certified-solutions-architect-professional-level"><em>LinuxAcademy</em></a><em>(Recommended)</em></p><p>* <a href="https://www.whizlabs.com/aws-solutions-architect-professional/"><em>Whizlabs</em></a><em>(Recommended)</em></p><p><em>* </em><a href="https://aws.amazon.com/whitepapers/"><em>AWS Whitepapers</em></a><em>(Recommended)</em></p><p><em>* </em><a href="http://jayendrapatil.com/aws-solution-architect-professional-certification-exam-preparation-guide/"><em>JayendraPatil’s Blog</em></a><em>(Recommended) -</em></p><p><em>* </em><a href="https://start.jcolemorrison.com/aws-iam-policies-in-a-nutshell/"><em>Understanding AWS IAM polices</em></a><em>(optional)</em></p><p><em>* </em><a href="https://acloud.guru/course/aws-certified-solutions-architect-professional/dashboard"><em>Acloudguru and Ryan</em></a><em>(optional)</em></p><p><em>* </em><a href="https://www.youtube.com/watch?v=eNxPhHTN8gY"><em>AWS Video on Direct Connect</em></a> from Steve Seymour</p><h3><strong><em>Watch out for:</em></strong></h3><p><strong><em>Multiple answer questions</em> </strong>— Though the exam spells out how many you have to select, they are very tricky and it’s highly probable you might go wrong. Even if you go wrong on one of the answers out of multiple, you don’t get any partial credits. It marks boolean either you are right or wrong.</p><p><strong><em>Pass Percentage</em></strong> — AWS doesn’t spell out what exactly is the pass mark. But you are safe if you can clear the 70% mark.</p><p><strong><em>Topics</em></strong> — Personally scored low on Deployment management and costing — There are fairly good number of questions on deployment management.</p><p>Many,many questions on Direct Connect, VPCs, ELB, Route53 and VPNs.</p><p>Have extra focus on S3, CloudFront ,RDS &amp; Multi-AZ. Deployment management using Cloud Formation &amp; OpsWorks.</p><p><strong>Security</strong> is fairly complex so please give extra focus and try to understand the concepts of IAM, cross-account, federation, AD &amp; bucket policies.</p><p><strong><em>Whizlabs</em></strong> — If you did these practice tests there’s high probability ,most of the topics &amp; questions overlap in your exam. DO NOT sit in the exam without completing all the practice tests of CSAP.</p><h3>During the exam:</h3><p>Time is of essence. DONT get stuck with one question. Any question in doubt mark for review and get moving. You will have enough time to come back and review those. I was left with 40 min to review.</p><p><strong><em>Schedule it:</em></strong></p><p>Once you are ready schedule your Exam and get the coveted AWS CSA — Professional<a href="https://aws.amazon.com/certification/certified-solutions-architect-professional/"> https://aws.amazon.com/certification/certified-solutions-architect-professional/</a></p><p>Please feel to leave your questions/comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95d549f6b99" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>