<?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 Ruslan Korniichuk on Medium]]></title>
        <description><![CDATA[Stories by Ruslan Korniichuk on Medium]]></description>
        <link>https://medium.com/@korniichuk?source=rss-9be3c76b4804------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DoOPuk7GPA43TBgYR5s3Kw.jpeg</url>
            <title>Stories by Ruslan Korniichuk on Medium</title>
            <link>https://medium.com/@korniichuk?source=rss-9be3c76b4804------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:51:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@korniichuk/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[uefa.com website secret feature: How to “buy” tickets for UEFA EURO 2024?]]></title>
            <link>https://korniichuk.medium.com/uefa-com-website-secret-feature-how-to-buy-tickets-for-uefa-euro-2024-cbcf99adf93f?source=rss-9be3c76b4804------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbcf99adf93f</guid>
            <category><![CDATA[euro2024]]></category>
            <category><![CDATA[football]]></category>
            <category><![CDATA[euro2024tickets]]></category>
            <category><![CDATA[uefa]]></category>
            <category><![CDATA[tickets]]></category>
            <dc:creator><![CDATA[Ruslan Korniichuk]]></dc:creator>
            <pubDate>Wed, 05 Jun 2024 19:53:13 GMT</pubDate>
            <atom:updated>2024-06-05T20:52:14.532Z</atom:updated>
            <content:encoded><![CDATA[<p>The main sales phases for UEFA EURO 2024 tickets closed. However, with the contact-advantages secret feature, you can open the hidden side of the <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqazdtNVJuazROemhhX19GTGlXTHJta3JNNldfZ3xBQ3Jtc0tsdnVVUXNsMWFfRzdCTDI4dl85NTFmSWJHQktUOUhvMjJLMlFtZ0djbHdkS3lDTmd1Skp4VGN6Y0JGSTZDbFNhZDZFMVEyQjJ5QnNiaURhUHRCaF8ycThwM2NSc21EdkV3Q2c0ODlpMjk5UkFhaVd6VQ&amp;q=https%3A%2F%2Feuro2024-sales.tickets.uefa.com%2F&amp;v=T9K-hiAvPnE">https://euro2024-sales.tickets.uefa.com</a> website.</p><p>Note: If you prefer video instruction, navigate to <a href="https://youtu.be/T9K-hiAvPnE?si=HfUObmBDt9ZHWv1r">https://youtu.be/T9K-hiAvPnE?si=HfUObmBDt9ZHWv1r</a>:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FT9K-hiAvPnE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DT9K-hiAvPnE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FT9K-hiAvPnE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3417cf4d4e6c970247e2a487a1e80ee6/href">https://medium.com/media/3417cf4d4e6c970247e2a487a1e80ee6/href</a></iframe><p><strong>Step 1/3:</strong> Navigate to <a href="https://www.uefa.com/euro2024/ticketing/">https://www.uefa.com/euro2024/ticketing/</a> and click TICKET PORTAL:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BkTFv-657WquzxZpbNb01g.png" /></figure><p>You will see the default <a href="https://euro2024-sales.tickets.uefa.com/account">https://euro2024-sales.tickets.uefa.com/account</a> website without an option to buy tickets:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S2dfEzce7-YQ704mtvf0cA.png" /></figure><p><strong>Step 2/3:</strong> Make a typo at the end of the URL address, e.g., <a href="https://euro2024-sales.tickets.uefa.com/account2">https://euro2024-sales.tickets.uefa.com/account2</a> and click ADD MORE TICKETS / MATCHES :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LEZMQY1BoP_wNnruWt8Dug.png" /></figure><p>You will see much longer URL now (e.g., <a href="https://euro2024-sales.tickets.uefa.com/secure/selection/event/date/product/101802926871/lang/en">https://euro2024-sales.tickets.uefa.com/secure/selection/event/date/product/101802926871/lang/en</a>) with a product ID in it (e.g., 101802926871):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zra_eMeWPgWVcjFJ1wjkmA.png" /></figure><p><strong>Step 3/3:</strong> Change URL by adding contact-advantages/10229302961043/ before lang/en (e.g., <a href="https://euro2024-sales.tickets.uefa.com/secure/selection/event/date/product/101802926871/contact-advantages/10229302961043/lang/en">https://euro2024-sales.tickets.uefa.com/secure/selection/event/date/product/101802926871/<strong>contact-advantages/10229302961043/</strong>lang/en</a>):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bkBKpypzQJfvK9javLjqRA.png" /></figure><p><strong>Congrats!</strong> You can see hidden side of the website now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GZ_JN9mbtC5O2ZPVKmE1Ng.png" /></figure><p>To see the purchase options for concrete match (e.g., Hungary vs Switzerland) you need to change the URL address again, e.g.,<br>from:<br>https://euro2024-sales.tickets.uefa.com/secure/selection/event/seat/performance/101810753867/lang/en<br>to:<br>https://euro2024-sales.tickets.uefa.com/secure/selection/event/seat/performance/101810753867/<strong>contact-advantages/10229302961043/</strong>lang/en:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z7C-Z8Q1IShS0uRtGFddJw.png" /></figure><p>I read about this feature in <strong>Weronika Opszalska</strong> Facebook post at <a href="https://www.facebook.com/groups/1648891872513602/permalink/1691009284968527">https://www.facebook.com/groups/1648891872513602/permalink/1691009284968527</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L01CNHKTz_axClyA7LCk5g.jpeg" /></figure><p>The reason for the detected feature may be the recent post at <a href="https://twitter.com/euro2024ticket/status/1798372084059664429">https://twitter.com/euro2024ticket/status/1798372084059664429</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*y8XAmbguNlhCDpTia5TWcw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbcf99adf93f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to securely connect EC2 via SSH with AWS Systems Manager]]></title>
            <link>https://korniichuk.medium.com/session-manager-e724eb105eb7?source=rss-9be3c76b4804------2</link>
            <guid isPermaLink="false">https://medium.com/p/e724eb105eb7</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[aws-system-manager]]></category>
            <category><![CDATA[ssh]]></category>
            <dc:creator><![CDATA[Ruslan Korniichuk]]></dc:creator>
            <pubDate>Fri, 03 Jan 2020 22:11:58 GMT</pubDate>
            <atom:updated>2020-01-04T17:19:22.053Z</atom:updated>
            <content:encoded><![CDATA[<h4>Modern best practice to connect Amazon EC2 instance via SSH without SSH key/password and with closed inbound 22 port. AWS Systems Manager Session Manager tutorial.</h4><h4>Table of Contents</h4><ul><li>Step 1: Launch Amazon EC2 Instance</li><li>Step 2: Create AWS IAM Role</li><li>Step 3: Connect Amazon EC2 via SSH</li><li>Extra: Connect using SSH command and SSH key</li><li>Sources</li></ul><p><strong>Disclaimer:</strong> I do not represent my current/previous employers on my personal Medium blog.</p><h4>Step 1: Launch Amazon EC2 Instance</h4><p>Navigate to <a href="https://console.aws.amazon.com/ec2/">Amazon EC2</a> and start launching new instance. In this tutorial I will use <a href="https://aws.amazon.com/amazon-linux-2/">Amazon Linux 2 AMI (HVM)</a> operating system.</p><p>Create a new security group with no rules (e.g. MediumSG) and assign to your EC2 instance:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OGcilu_zLN8HJAwM5P5JyQ.png" /></figure><p>Proceed without SSH key pair:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*ZCoSX9Rw7ytiYzzAesgRAA.png" /></figure><p>Finally copy and save Instance ID (e.g. i-06fd9f063a7cf53fd).</p><h4>Step 2: Create AWS IAM Role</h4><p>Navigate to <a href="https://console.aws.amazon.com/iam/">AWS IAM</a> and create new role. Choose EC2 service and click Next: Permissions:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v65l20baP-VAat20QAdz4w.png" /></figure><p>Select AmazonSSMManagedInstanceCore policy. Click Next: Tags. Click Next: Review. Enter Role name (e.g. MediumRole) and Role description (e.g. AWS Systems Manager Session Manager for EC2 Instance). Click Create role:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BgL_VFm9HSWCcTovKzEuaw.png" /></figure><p>Attach your new role (e.g. MediumRole) to your EC2 instance from Step 1. Navigate to <a href="https://console.aws.amazon.com/ec2/">Amazon EC2</a> select your instance (e.g. i-06fd9f063a7cf53fd) and click Actions -&gt; Instance Settings -&gt; Attach/Replace IAM Role. Select the role and click Apply:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ShiMtqmowpmkXnE77qCJtw.png" /></figure><h4>Step 3: Connect Amazon EC2 via SSH</h4><p>You can connect EC2 instance with AWS Systems Manager Session Manager in multiple ways: E2 console, Systems Manager console, AWS CLI.</p><p><strong>3.1 Connect using Amazon EC2 console</strong></p><p>Navigate to <a href="https://console.aws.amazon.com/ec2/">Amazon EC2</a> select your instance and click Connect. Select Session Manager and click Connect:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*WbxqdjT5u2XYuqwEnapkCA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FFjq2y5X7iUe95lB2_xKqg.png" /></figure><p><strong>Note:</strong> If you saw We weren’t able to connect to your instance error, navigate to <a href="https://console.aws.amazon.com/systems-manager/">AWS Systems Manager</a>. Select the same region as for your EC2 instance (e.g. N. Virginia). Click Get Started with Systems Manager. Finish Systems Manager Quick Setup.</p><p><strong>3.2 Connect using AWS Systems Manager console</strong></p><p>Navigate to <a href="https://console.aws.amazon.com/systems-manager/">AWS Systems Manager</a> and select Instances &amp; Nodes -&gt; Session Manager. Click Start session. Select your instance and click Start session:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c-CY4KVYqtImBnjSY-sNsw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*afU1zJID1snHlhbiiVw_BQ.png" /></figure><p><strong>3.3 Connect using AWS CLI</strong></p><pre>$ aws ssm start-session --target INSTANCE_ID</pre><p>Example:</p><pre>$ aws ssm start-session --target i-06fd9f063a7cf53fd</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*XUazDHK47uNOOcVWf3fg_w.png" /></figure><h4>Extra: Connect using SSH command and SSH key</h4><p>Launch new EC2 instance (e.g. i-077b1f947c98988d5) and download SSH key (e.g. key.pem).</p><p>The Amazon EC2 instance must have the latest SSM Agent installed to allow connection using SSH. You can install the agent on both <a href="https://docs.aws.amazon.com/console/systems-manager/agent-windows">Windows instances</a> and <a href="https://docs.aws.amazon.com/console/systems-manager/agent-linux">Linux instances</a>.</p><p>On <a href="https://aws.amazon.com/amazon-linux-2/">Amazon Linux 2</a>, you can install the latest SSM Agent by using the following command:</p><pre>$ sudo yum install -y <a href="https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm">https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm</a></pre><p>Let’s prepare your local machine. First, install the latest <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html">Session Manager Plugin</a> on you local machine.</p><p>Second, update ~/.ssh/config file on your local machine and add the code below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b568c08afd4273b99087fd7821726b90/href">https://medium.com/media/b568c08afd4273b99087fd7821726b90/href</a></iframe><p>Third, start a session by using the following ssh command:</p><pre>$ ssh -i SSH_KEY ec2-user@INSTANCE_ID</pre><p>Example:</p><pre>$ ssh -i key.pem ec2-user@i-077b1f947c98988d5</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*uKyM6zsuGDUXfK4pqwGtZg.png" /></figure><h4>Sources</h4><ol><li><a href="https://aws.amazon.com/ru/blogs/infrastructure-and-automation/toward-a-bastion-less-world/">Toward a bastion-less world</a></li><li><a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html">Install the Session Manager Plugin for the AWS CLI</a></li><li><a href="https://aws.amazon.com/ru/blogs/infrastructure-and-automation/securing-your-bastion-hosts-with-amazon-ec2-instance-connect/">Securing your bastion hosts with Amazon EC2 Instance Connect</a></li><li><a href="https://aws.amazon.com/blogs/security/securely-connect-to-linux-instances-running-in-a-private-amazon-vpc/">Securely Connect to Linux Instances Running in a Private Amazon VPC</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e724eb105eb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top 3 Information Technology (IT) trends for 2020]]></title>
            <link>https://korniichuk.medium.com/it-trends-2020-e1ebb20d79c8?source=rss-9be3c76b4804------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1ebb20d79c8</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[gartner]]></category>
            <category><![CDATA[trends]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[smart-speaker]]></category>
            <dc:creator><![CDATA[Ruslan Korniichuk]]></dc:creator>
            <pubDate>Sun, 29 Dec 2019 02:15:43 GMT</pubDate>
            <atom:updated>2020-01-03T18:47:17.668Z</atom:updated>
            <content:encoded><![CDATA[<h4>The best tech trends in IT industry for 2020 year. What are they like? How to define and prove? Gartner, IDC, Google, Stack Overflow, Computer Economics…</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*R3fOjBnORsCRsofo-27KvQ.png" /></figure><h4>Table of Contents</h4><ul><li>Trend #1: AWS and Distributed Cloud</li><li>Trend #2: Artificial Intelligence and AI Security</li><li>Trend #3: Voice-Enabled Virtual Assistants and Multiexperience</li><li>About the author</li><li>Sources</li></ul><p><strong>Disclaimer:</strong> I do not represent my current/previous employers on my personal Medium blog.</p><h4>Trend #1: AWS and Distributed Cloud</h4><blockquote><strong><em>Cloud Computing</em></strong><em> is the on-demand availability of computer system resources, especially data storage and computing power, without direct active management by the user</em>.</blockquote><p>Market research firm <a href="http://www.computereconomics.com/">Computer Economics</a> has published an annual IT Spending and Staffing Benchmarks report since 1990.</p><p>Top-line findings from Computer Economics’ 2019/20 survey are similar to last year: organisations are migrating to the cloud and increasing spending to reap the benefits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*d-EP1zBKh1iE6FG7kUzKmA.jpeg" /><figcaption>Source: <a href="https://zd.net/3682ZgH">zd.net/3682ZgH</a></figcaption></figure><p>AWS (Amazon Web Services) vs Microsoft Azure vs GCP (Google Cloud Platform). Upwork debuts <a href="https://www.upwork.com/press/2019/11/19/the-upwork-100-q3-2019/">The Upwork 100</a>, ranking the top 100 in-demand skills for independent professionals:</p><p>1. .NET Core<br>2. TypeScript<br>3. Landing pages<br>…<br>15. Amazon Web Services (AWS)<br>…<br>34. Microsoft Windows Azure<br>…<br>94. Google Cloud Platform</p><p>The largest three players (AWS, Azure, GCP) will continue to dominate share of the market:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*7BgOpqvbvgW2cqjIL0hL6g.jpeg" /><figcaption>Source: <a href="http://bit.ly/2F3Hodv">bit.ly/2F3Hodv</a></figcaption></figure><p>Ultimately, it seems clear that in the case of AWS vs Azure vs GCP market share <strong>— </strong>AWS still has the lead.</p><p><strong>Distributed Cloud</strong></p><p>Distributed Cloud is defined as the distribution of public cloud services to different physical locations, while operation, governance, updates and the evolution of those services are the responsibility of the originating public cloud provider. New services like <a href="https://aws.amazon.com/outposts/">AWS Outposts</a>, <a href="https://azure.microsoft.com/en-us/overview/azure-stack/">Azure Stack</a>, and <a href="https://cloud.google.com/anthos/">Google Anthos</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fc-SZB0AabAc%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dc-SZB0AabAc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fc-SZB0AabAc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0a9b4548e03eba6d8e4c7aa822f618ca/href">https://medium.com/media/0a9b4548e03eba6d8e4c7aa822f618ca/href</a></iframe><p>Read more about Distributed Cloud trend in <a href="https://www.gartner.com/en/doc/432920-top-10-strategic-technology-trends-for-2020">Gartner’s full research</a> (<a href="https://emtemp.gcom.cloud/ngw/globalassets/en/doc/documents/432920-top-10-strategic-technology-trends-for-2020.pdf">pdf</a>).</p><p>What to learn in 2020? I can recommend <a href="https://acloud.guru/learn/aws-certified-developer-associate">AWS Certified Developer — Associate 2020</a> course by A Cloud Guru.</p><p>How can we prove by ourselves the dominance of the AWS cloud provider? Let’s Navigate to <a href="https://trends.google.com/trends">Google Trends</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*skeVisVtLDkBT0-_CNbGoQ.png" /><figcaption>Source: <a href="http://bit.ly/354zk6H">bit.ly/354zk6H</a></figcaption></figure><p>Based on <a href="https://insights.stackoverflow.com/survey/2019">Stack Overflow Developer Survey Results 2019</a>, AWS 2X times more popular platform in professional environment than Azure or GCP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*Y6uIpR6HqJ5gnuh9Q4Dm-A.png" /><figcaption>Source: <a href="http://bit.ly/39p0M2n">bit.ly/39p0M2n</a></figcaption></figure><h4>Trend #2: Artificial Intelligence and AI Security</h4><blockquote><strong><em>Artificial Intelligence (AI) </em></strong><em>— capability of a machine to imitate intelligent human behavior.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YTXUWTxb9tuzXOVjtGRi2g.png" /><figcaption>Source: <a href="http://bit.ly/WHYAI">bit.ly/WHYAI</a></figcaption></figure><p>IDC’s <a href="https://www.idc.com/promo/global-ict-spending/forecast">ICT Spending Forecast</a> for 2018–2022 puts the worldwide spend at $5.1 trillion dollars in 2019 (5.2% YoY growth), rising to $5.3tn in 2020 (5.6% YoY growth). The analyst firm breaks ICT spend into two broad categories — traditional and new technologies.</p><p>Cloud, mobile, social and big data/analytics are seen as traditional technologies, while the new kids on the block include AI, robotics, AR/VR and next-generation security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*am2eWR1P8WLMPe1V43ms1Q.jpeg" /><figcaption>Source: <a href="https://zd.net/3682ZgH">zd.net/3682ZgH</a></figcaption></figure><p>Between 2019 and 2022, IDC expects double-digit growth from these new technologies, with traditional tech at around 2.8%:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*X-HLT3P_LJVTPfkLN3yc4Q.jpeg" /><figcaption>Source: <a href="https://zd.net/3682ZgH">zd.net/3682ZgH</a></figcaption></figure><p>Now in its 21st year, the <a href="https://www.hnkpmgciosurvey.com/press-release.php">Harvey Nash/KPMG CIO Survey</a> is claimed to be the world’s largest global IT leadership survey. Key themes in the 2019 survey include: digital disruption; increasing investment in technology; the relentless pace of technology evolution; AI and automation; cyber security; the rise of business-managed (a.k.a. shadow) IT.</p><p>‍Skills shortages — technology leaders are struggling to find the right talent with skills shortages at their highest level since 2008. The three most scarce skills are big data/analytics (44%), cyber security (39%) and AI (39%).</p><p><strong>AI Security</strong></p><p>There are three key perspective to explore when considering how AI is impacting the security space:</p><ul><li><strong>Protecting AI-powered systems.</strong> This requires securing AI training data, training pipelines and ML models.</li><li><strong>Leveraging AI to enhance security defense.</strong> This uses ML to understand patterns, uncover attacks and automate aspects of the cybersecurity processes while augmenting the actions of human security analysts.</li><li><strong>Anticipating nefarious use of AI by attackers.</strong> Identifying these attacks and defending against them will be an important addition to the cybersecurity role.</li></ul><p>Read more about AI Security trend in <a href="https://www.gartner.com/en/doc/432920-top-10-strategic-technology-trends-for-2020">Gartner’s full research</a> (<a href="https://emtemp.gcom.cloud/ngw/globalassets/en/doc/documents/432920-top-10-strategic-technology-trends-for-2020.pdf">pdf</a>).</p><p>What to learn in 2020? I can strongly recommend <a href="https://www.coursera.org/learn/ai-for-everyone">AI For Everyone</a> and <a href="https://www.coursera.org/learn/machine-learning">Machine Learning</a> courses by <a href="https://www.andrewng.org/">Andrew Ng</a>.</p><p>Do you think the AI hype will die down?! United States is motherland of IT. Let’s navigate to <a href="https://trends.google.com/trends">Google Trends</a> and check trend of AI since 2004 year:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*92r_7VMc-ntRRO4bxzAuMw.png" /><figcaption>Source: <a href="http://bit.ly/2F3CZqO">bit.ly/2F3CZqO</a></figcaption></figure><p>Let’s check <a href="https://www.indeed.com/">Indeed</a>. AI job postings on Indeed rose 29.1% from May 2018 to May 2019. However, that increase is substantially less than it was for the previous two years. AI job postings on Indeed rose 57.9% from May 2017 to May 2018 and a whopping 136.3% between May 2016 and May 2017. See <a href="http://blog.indeed.com/2018/08/23/artificial-intelligence-report/">full 2018 research findings</a>.</p><p>At the same time, Indeed saw a 15 percent decrease in candidate searches for AI roles, suggesting a potential shortage of AI experts for companies looking to hire them. During the previous 12-month period, those candidates searches jumped 32 percent.</p><h4>Trend #3: Voice-Enabled Virtual Assistants and Multiexperience</h4><p>New devices and new modes of interaction — from natural-language-based chat and voice to gestures used in 3D or virtual environments — coexist with the ever-popular web browser and mobile apps. Any combination of these new touchpoints can be used by customers along their journey.</p><p>Read more about Multiexperience trend in <a href="https://www.gartner.com/en/doc/432920-top-10-strategic-technology-trends-for-2020">Gartner’s full research</a> (<a href="https://emtemp.gcom.cloud/ngw/globalassets/en/doc/documents/432920-top-10-strategic-technology-trends-for-2020.pdf">pdf</a>).</p><p>Based on <a href="https://www.thinkwithgoogle.com/data-collections/2019-consumer-insights/">Think with Google 2019 research review</a> (<a href="https://storage.googleapis.com/think/docs/think-with-google-2019-research-review.pdf">pdf</a>), 27% of the global online population is using voice search on mobile.</p><p>Smart speaker usage is growing as they become more connected to users’ lives. Active users of the <a href="https://assistant.google.com/">Google Assistant</a> grew 4X over the past year. The Google Assistant is now built into more than 1 billion devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0z1S6dfZLl3fvfH-bizk5A.png" /><figcaption>Source: <a href="http://bit.ly/2Q4M2xY">bit.ly/2Q4M2xY</a></figcaption></figure><p>Based on <a href="https://advertiseonbing-blob.azureedge.net/blob/bingads/media/insight/whitepapers/2019/04%20apr/voice-report/bingads_2019voicereport.pdf">Voice report 2019</a>, the Amazon Alexa is surprisingly not the most popular digital assistant. Apple’s Siri and the <a href="https://assistant.google.com/">Google Assistant</a> tied for first place with 36% of respondents having used each. Alexa came in 3rd with 25% of respondents reporting usage.</p><p>What to learn in 2020? I can recommend <a href="https://codelabs.developers.google.com/?cat=Assistant">Build Actions for the Google Assistant</a> courses by Google.</p><h4>About the author</h4><p>I’m Ruslan, a Python Developer and certified Artificial Intelligence Engineer living in Poland. Visit <a href="http://www.korniichuk.com/">www.korniichuk.com</a> to hire me.</p><h4>Sources:</h4><ol><li><a href="https://www.gartner.com/smarterwithgartner/5-digital-technology-trends-for-2020/">5 Digital Technology Trends for 2020</a></li><li><a href="https://enterprisersproject.com/article/2019/8/ai-artificial-intelligence-careers-salaries-7-statistics">AI careers and salaries: 7 telling statistics</a></li><li><a href="https://s3-eu-west-1.amazonaws.com/korniichuk.share/pdf/ruslan_korniichuk_-_ai_and_ml_20191211.pdf">Artificial Intelligence and Machine Learning. Why?</a></li><li><a href="https://www.hnkpmgciosurvey.com/press-release.php">Harvey Nash/KPMG CIO Survey</a></li><li><a href="https://www.idc.com/promo/global-ict-spending/forecast">ICT Spending Forecast</a></li><li><a href="https://www.thinkwithgoogle.com/data-collections/2019-consumer-insights/">Insights we uncovered in 2019 that will take you into 2020</a> (<a href="https://storage.googleapis.com/think/docs/think-with-google-2019-research-review.pdf">pdf</a>)</li><li><a href="https://www.zdnet.com/article/it-budgets-2020-how-the-money-will-be-spent-and-who-will-spend-it/">IT budgets 2020: How the money will be spent, and who will spend it</a></li><li><a href="https://www.computereconomics.com/page.cfm?name=it-spending-and-staffing-study">IT Spending and Staffing Benchmarks 2019/2020</a></li><li><a href="https://insights.stackoverflow.com/survey/2019">Stack Overflow Developer Survey Results 2019</a></li><li><a href="https://www.businessinsider.com/goldman-sachs-cloud-computing-market-forecast-aws-microsoft-azure-google-cloud-2018-11">The cloud-computing market is set to double to $116 billion by 2021</a></li><li><a href="https://www.upwork.com/press/2019/11/19/the-upwork-100-q3-2019/">The Upwork 100: Q3 2019</a></li><li><a href="http://blog.indeed.com/2019/06/28/top-10-ai-jobs-salaries-cities/">Top 10 AI Jobs, Salaries and Cities</a></li><li><a href="https://www.gartner.com/en/doc/432920-top-10-strategic-technology-trends-for-2020">Top 10 Strategic Technology Trends for 2020</a> (<a href="https://emtemp.gcom.cloud/ngw/globalassets/en/doc/documents/432920-top-10-strategic-technology-trends-for-2020.pdf">pdf</a>)</li><li><a href="https://www.gartner.com/en/newsroom/press-releases/2019-12-10-gartner-identifies-the-top-10-trends-impacting-infrastructure-and-operations-for-2020">Top 10 Trends Impacting Infrastructure and Operations for 2020</a></li><li><a href="https://advertiseonbing-blob.azureedge.net/blob/bingads/media/insight/whitepapers/2019/04%20apr/voice-report/bingads_2019voicereport.pdf">Voice report 2019</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1ebb20d79c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Amazon AWS Training and Certification changes reschedule policy]]></title>
            <link>https://korniichuk.medium.com/amazon-changes-reschedule-policy-2b19d7c82121?source=rss-9be3c76b4804------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b19d7c82121</guid>
            <category><![CDATA[bezos]]></category>
            <category><![CDATA[aws-training]]></category>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[amazon]]></category>
            <dc:creator><![CDATA[Ruslan Korniichuk]]></dc:creator>
            <pubDate>Mon, 23 Sep 2019 21:14:50 GMT</pubDate>
            <atom:updated>2019-09-23T22:01:37.636Z</atom:updated>
            <content:encoded><![CDATA[<h4>Amazon on the sly changed reschedule policy from unlimited rescheduling to only 2 rescheduling. When? We asked Amazon, see details below.</h4><p><strong>Disclaimer:</strong> I do not represent my current/previous employers on my personal Medium blog.</p><p>I noticed that I cannot reschedule my AWS exam:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uCksKTJE5a9VYwwybMpTjg.png" /></figure><blockquote>This exam can only be rescheduled 2 times, which has already occurred.</blockquote><p>I send e-mail to aws.psisupport@psionline.com:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c5pYGyfOmvY5F-E8fq4CYQ.png" /></figure><p>Amazon ignored first question and confirm second:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b1_VnMB7yTnlsI1Ew7fA8A.png" /></figure><blockquote>Yes, these rules are applicable to all AWS exam tester.</blockquote><p>You can navigate to <a href="https://aws.amazon.com/certification/faqs/">https://aws.amazon.com/certification/faqs/</a> and find the proof.</p><p>When Amazon changed reschedule policy? I asked Amazon one more time and my question was ignored again. Let’s ask <a href="https://web.archive.org/">Wayback Machine</a>.</p><blockquote><a href="https://web.archive.org/">Wayback Machine</a> is a digital archive of the World Wide Web and other information on the Internet.</blockquote><p>Based on internet archive, Amazon changed reschedule policy from unlimited rescheduling to only 2 rescheduling between <a href="https://web.archive.org/web/20190421163917/https://aws.amazon.com/certification/faqs/">21st of April</a> and <a href="https://web.archive.org/web/20190710121522/https://aws.amazon.com/certification/faqs/">10th of July</a>, 2019:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PK72X0fvuVN9W5izn7TiWg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WdWsB1J8Apt7Xhxg9wOhJA.png" /><figcaption><a href="https://web.archive.org/web/20190421163917/https://aws.amazon.com/certification/faqs/">https://web.archive.org/web/20190421163917/https://aws.amazon.com/certification/faqs/</a> <a href="https://web.archive.org/web/20190710121522/https://aws.amazon.com/certification/faqs/">https://web.archive.org/web/20190710121522/https://aws.amazon.com/certification/faqs/</a></figcaption></figure><p>Is this is problem?! Yep, for voucher owners and enterprise users.</p><p>If you cancel your exam booked with voucher you can expect expired voucher. That is why you cannot reschedule and must pay again.</p><p>If you cancel your exam booked with corporate credit card you can expect many bureaucracy problems.</p><h4>UPD</h4><p>Amazon has allowed me to reschedule my exam w/o extra fee:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cc2cej1sU67AESkAlQmusw.png" /></figure><p>Many thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b19d7c82121" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to export all Xiaomi Mi Band data]]></title>
            <link>https://korniichuk.medium.com/export-xiaomi-data-87f7e284b379?source=rss-9be3c76b4804------2</link>
            <guid isPermaLink="false">https://medium.com/p/87f7e284b379</guid>
            <category><![CDATA[mi-band]]></category>
            <category><![CDATA[mi-fit]]></category>
            <category><![CDATA[wearables]]></category>
            <category><![CDATA[mi-fit-app]]></category>
            <category><![CDATA[xiaomi]]></category>
            <dc:creator><![CDATA[Ruslan Korniichuk]]></dc:creator>
            <pubDate>Mon, 19 Aug 2019 10:20:40 GMT</pubDate>
            <atom:updated>2020-04-11T22:53:58.111Z</atom:updated>
            <content:encoded><![CDATA[<p>To export your data, sign in to <a href="http://mifit.huami.com/t/account_mifit">mifit.huami.com/t/account_mifit</a> or <a href="https://api-mifit.huami.com/t/account_mifit">api-mifit.huami.com/t/account_mifit</a> and select Export data.</p><h4>Introduction</h4><p>That’s what I noticed in my <a href="https://play.google.com/store/apps/details?id=com.xiaomi.hm.health&amp;hl=en">Mi Fit</a> Android app (ver. 4.0.7):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*p7pvXTD-9AvFjr8pSlWJsw.jpeg" /><figcaption>Profile -&gt; Help -&gt; How to exercise your right?</figcaption></figure><blockquote>Can I export my personal data?</blockquote><blockquote>To export your data, sign in to <a href="http://mifit.huami.com/t/account_mifit?fbclid=IwAR0ag4otTDOsFqeHK1nv5-iu9zBhhhyreM-YTSBtpPclsFwSMVQoSdBGd4I">mifit.huami.com/t/account_mifit</a> and select “Export data”.</blockquote><p><strong>Note:</strong> I can strongly recommend navigate to your Mi Fit app and verify the link.</p><h4>Solution</h4><p>Navigate to <a href="http://mifit.huami.com/t/account_mifit?fbclid=IwAR0ag4otTDOsFqeHK1nv5-iu9zBhhhyreM-YTSBtpPclsFwSMVQoSdBGd4I">mifit.huami.com/t/account_mifit</a> and click Export data:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FnVUlZS89FKGDkOmnLIqNw.png" /></figure><p><strong>Note:</strong> If you received default backend - 404 error, use <a href="https://api-mifit.huami.com/t/account_mifit">api-mifit.huami.com/t/account_mifit</a> alternative link.</p><p>Select your Mi Band data (e.g. Activity and Sleep). Select dates (e.g. 2018–01–01 and 2018–12–31). Click OK button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cdilMtcvM4aJ1n5Awbu_hw.png" /></figure><p>Navigate to you e-mail box. Find System notification -- Mi Fit and click Export data:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*0MM3xXmqbChd9erGccXrAg.jpeg" /></figure><p>Downloaded data stored as CSV files in password-protected ZIP archive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*4SYolHPxGwDWzp-N1XKLRg.png" /><figcaption>password-protected ZIP archive</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87f7e284b379" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your authentication information is incorrect. How to fix AWS MFA?]]></title>
            <link>https://korniichuk.medium.com/aws-mfa-5e6c72f5679a?source=rss-9be3c76b4804------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e6c72f5679a</guid>
            <category><![CDATA[google-authenticator-app]]></category>
            <category><![CDATA[aws-mfa]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[google-authenticator]]></category>
            <dc:creator><![CDATA[Ruslan Korniichuk]]></dc:creator>
            <pubDate>Thu, 16 May 2019 11:09:20 GMT</pubDate>
            <atom:updated>2019-05-16T13:32:06.579Z</atom:updated>
            <content:encoded><![CDATA[<p>You cannot login to your AWS account with correct password and correct MFA code? No, you do not have paranoia. Let’s fix AWS MFA!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AHQJV4e-d7qfWwd-OdDzig.png" /></figure><h4>Step 1: Google Authenticator</h4><p>If you use another application for 2-step verification codes, skip this step. Navigate to your <a href="https://en.wikipedia.org/wiki/Google_Authenticator">Google Authenticator</a> mobile app. Open Settings. Select Time correction for codes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N3aYPIBK2geeVRlBGS1TqA.jpeg" /></figure><p>Select Sync now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RhueHrig-AxwVH6uAdP-xw.jpeg" /></figure><h4>Step 2: AWS</h4><p>Navigate to <a href="https://console.aws.amazon.com/">https://console.aws.amazon.com</a>. Enter your account ID or account alias (e.g. medium). Click Next button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CXeuJzEbHfyy8Km6aDsiBA.png" /></figure><p>Enter your e-mail address and password. Click Sign In button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*djR7w6e1yY6p554ruASTOg.png" /></figure><p>Click Troubleshoot MFA link:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W7OqPYBTRtQoXoW8o9977w.png" /></figure><p>Click Re-sync MFA device button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4AWZLCYDiJMTV7tMc6JwPA.png" /></figure><p>Enter first MFA code. Enter next MFA code. Click Re-sync MFA device button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ACCEvx-_vUfqcQdSqnmBAw.png" /></figure><h4>Sources</h4><ul><li><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_lost-or-broken.html">What If an MFA Device Is Lost or Stops Working?</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e6c72f5679a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pseudonymization with keyed-hash function in Python and AWS]]></title>
            <link>https://korniichuk.medium.com/keyed-hash-9acd92549832?source=rss-9be3c76b4804------2</link>
            <guid isPermaLink="false">https://medium.com/p/9acd92549832</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[gdpr-compliance]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[gdpr]]></category>
            <category><![CDATA[hashing]]></category>
            <dc:creator><![CDATA[Ruslan Korniichuk]]></dc:creator>
            <pubDate>Thu, 18 Apr 2019 12:20:14 GMT</pubDate>
            <atom:updated>2019-04-18T13:22:58.539Z</atom:updated>
            <content:encoded><![CDATA[<p>Salted-hash function is not enough to secure <a href="https://en.wikipedia.org/wiki/Personal_data">personally identifying information (PII)</a>?! I can strongly recommend keyed-hash function as pseudonymization technique to be GDPR compliant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*Lgw5K9EBy_KFnpOcYIrylg.png" /></figure><p><a href="https://medium.com/p/7c399b44ba3#adce"><strong>Read more about pseudonymization hashing technique…</strong></a></p><h4>Table of Contents</h4><ul><li><a href="https://medium.com/p/9acd92549832#2876">Step 1: AWS KMS</a></li><li><a href="https://medium.com/p/9acd92549832#79bd">Step 2: AWS Secrets Manager</a></li><li><a href="https://medium.com/p/9acd92549832#8904">Step 3: Python</a></li></ul><p><strong>Disclaimer:</strong> I do not represent my current/previous employers on my personal Medium blog.</p><p>Guide below covers main steps for GDPR compliance in Data Science area. <strong>Do not use this guide in operation or security area</strong>. <a href="https://en.wikipedia.org/wiki/Salt_(cryptography)">Salt/key reuse is common mistake</a>.</p><h4>Step 1: AWS KMS</h4><p>Navigate to <a href="https://console.aws.amazon.com/kms/">https://console.aws.amazon.com/kms/</a> and click Create a key button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cmjdleB7Mje30wbiqF5PTw.png" /></figure><p>Enter Alias (e.g. medium) and Description (e.g. Key for AWS Secrets Manager). Click Next button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DZ6SybnYSYRZOVk27viq0g.png" /></figure><p>Provide tags like Team, Owner, and Impact. Click Next button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fDRWPKOc7COGO6dpbOEdkQ.png" /></figure><p>Click Next button. Click Next button. Review policy and click Finish button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FoVqUM_yMhYnqiPEultvPQ.png" /></figure><h4>Step 2: AWS Secrets Manager</h4><p>Navigate to <a href="https://console.aws.amazon.com/secretsmanager/">https://console.aws.amazon.com/secretsmanager/</a> and click Store a new secret button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ZeR1UinRuPm69hbOeXbjg.png" /></figure><p>Select Other type of secrets secret type. Enter variable name for hash key (e.g. hash_key). Enter value for hash key (e.g. passwd). Select KMS key from <a href="https://medium.com/p/9acd92549832#2876">Step 1</a> (e.g. medium). Click Next button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QUX3FKcYDhTgHP7mcFzaBA.png" /></figure><p>Enter name (e.g. Medium) and description (e.g. Secret key for keyed-hash function). Provide tags like Team, Owner, and Impact. Click Next button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OmIRvvWGRLJR82SjG-CVuw.png" /></figure><p>Select Disable automatic rotation option and click Next button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EAdIgzmku23YWkzI2GHufQ.png" /></figure><p>Review and click Store button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LzYONMjlLWq0-atK4f6pnw.png" /></figure><h4>Step 3: Python</h4><p>Pseudonymize ruslan@korniichuk.com e-mail address with keyed-hash function in Python.</p><p>Import hashlib and json Python standard libraries:</p><pre>import hashlib<br>import json</pre><p>Install <a href="https://github.com/boto/boto3">boto3</a> Python lib. <a href="https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-credentials.html">Set up AWS Credentials and Region for Development</a> or <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html">configure the AWS CLI</a>. Import boto3 Python lib:</p><pre>import boto3</pre><p>Initialize email variable with <a href="/service/mailto:ruslan@korniichuk.com">ruslan@korniichuk.com</a> value:</p><pre>email = &#39;<a href="/service/mailto:ruslan@korniichuk.com">ruslan@korniichuk.com</a>&#39;</pre><p>Get your secret (e.g. Medium), created in <a href="https://medium.com/p/9acd92549832#79bd">Step 2</a>.</p><pre>secretsmanager = boto3.client(&#39;secretsmanager&#39;)<br>response = secretsmanager.get_secret_value(SecretId=&#39;Medium&#39;)<br>secret_string = response[&#39;SecretString&#39;]<br>hash_key = json.loads(secret_string)[&#39;hash_key&#39;]</pre><p>Use sha3_512() function from standard hashlib Python library. Add secret key to email address. Hash e-mail address with keyed-hash function:</p><pre>sha3 = hashlib.sha3_512()<br>data = email + hash_key<br>sha3.update(data.encode(&#39;utf-8&#39;))<br>digest = sha3.hexdigest()<br>print(digest)</pre><pre>&#39;fab8b7051dfe55b84c702e24611b2bd7e4564f217eb43deb8292d1afc1548766b2000b2e67b9fac54bcb0598d410c34f3b0adb5deed122798d8bf8697eda4056&#39;</pre><p>See all parts of code in one file below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0142d8a42229dc913134febbe52a8397/href">https://medium.com/media/0142d8a42229dc913134febbe52a8397/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9acd92549832" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Easy-to-use GDPR guide for Data Scientist. Part 2/2]]></title>
            <link>https://korniichuk.medium.com/gdpr-guide-2-7c399b44ba3?source=rss-9be3c76b4804------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c399b44ba3</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[gdpr]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[gdpr-compliance]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Ruslan Korniichuk]]></dc:creator>
            <pubDate>Tue, 16 Apr 2019 19:42:20 GMT</pubDate>
            <atom:updated>2019-04-17T11:35:53.012Z</atom:updated>
            <content:encoded><![CDATA[<p>As successful Data Scientist, what can I do and what cannot to be GDPR compliant? Amazon Web Services (AWS) vs on-premise. De-identification vs Anonymization. Anonymization: removing, masking or suppression, generalization, k-anonymization, scrambling, blurring. Pseudonymization: tokenization, hashing, encryption, key deletion or crypto-shredding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*1syEUbrJEGTw82MKewyImw.png" /></figure><p><a href="https://medium.com/@korniichuk/gdpr-guide-1-84364ec36b79"><strong>Navigate to Part 1</strong></a></p><h4>Table of Contents</h4><ul><li><a href="https://medium.com/p/84364ec36b79#2655">AWS vs on-premise (part 1)</a></li><li><a href="https://medium.com/p/84364ec36b79#8599">Amazon S3 bucket encryption (part 1)</a></li><li><a href="https://medium.com/p/84364ec36b79#f0cd">Amazon S3 bucket access (part 1)</a></li><li><a href="https://medium.com/p/7c399b44ba3#6964"><strong>De-identification vs Anonymization</strong></a></li><li><a href="https://medium.com/p/7c399b44ba3#e779">Removing</a></li><li><a href="https://medium.com/p/7c399b44ba3#1939">Masking or suppression</a></li><li><a href="https://medium.com/p/7c399b44ba3#4ce7">Generalization</a></li><li><a href="https://medium.com/p/7c399b44ba3#b2f9">K-anonymization</a></li><li><a href="https://medium.com/p/7c399b44ba3#a0c6">Scrambling</a></li><li><a href="https://medium.com/p/7c399b44ba3#142e">Blurring</a></li><li><a href="https://medium.com/p/7c399b44ba3#34e6"><strong>Pseudonymization</strong></a></li><li><a href="https://medium.com/p/7c399b44ba3#3da1">Tokenization</a></li><li><a href="https://medium.com/p/7c399b44ba3#adce">Hashing</a></li><li><a href="https://medium.com/p/7c399b44ba3#730b">Encryption</a></li><li><a href="https://medium.com/p/7c399b44ba3#233f">Key deletion or crypto-shredding</a></li></ul><p><strong>Disclaimer:</strong> I do not represent my current/previous employers on my personal Medium blog.</p><p><a href="https://s3-eu-west-1.amazonaws.com/korniichuk.share/code/ruslan_korniiichuk_-_gdpr_20190417.ipynb"><strong>Download Jupyter Notebook with source code…</strong></a></p><h4>De-identification vs Anonymization</h4><p><a href="https://en.wikipedia.org/wiki/De-identification"><strong>De-identification</strong></a> is the process used to prevent a person’s identity from being connected with information.</p><p>De-identification is also known as <a href="https://en.wikipedia.org/wiki/Data_anonymization"><strong>data anonymization</strong></a>, when applied to metadata or general data about identification.</p><blockquote><a href="https://en.wikipedia.org/wiki/Data_anonymization"><strong>Data anonymization</strong></a> is the process of either encrypting or removing personally identifiable information from datasets, so that the people whom the data describe remain anonymous.</blockquote><h4><strong>Removing</strong></h4><p>Removing <a href="https://en.wikipedia.org/wiki/Personal_data">personally identifying information (PII)</a> is a form of anonymization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mdc2izCrzmKJBg_1cQ8j5A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qQ7Sz9rji3dPf9Nq-FX8mQ.png" /></figure><p>Anonymization in general and PII removing are out of GDPR scope.</p><h4><strong>Masking or suppression</strong></h4><p>Masking or suppression is anonymization technique allows an important/unique part of the data to be hidden with random characters or other data.</p><p>Example: <br>6619 5829 2470 5074 credit card number<br>to:<br>**** **** **** 5074.</p><p>With masking, we identify data without manipulating actual identities.</p><p>Anonymization in general and PII masking/suppression are out of GDPR scope.</p><p><strong>Note:</strong> Be careful with masking of e-mail addresses. *@gmail.com is GDPR compliant, *@korniichuk.com (<a href="http://www.korniichuk.com/">www.korniichuk.com</a>) is not GDPR compliant.</p><h4><strong>Generalization</strong></h4><p>Generalization<strong> </strong>is anonymization technique replaces individual values of fields with a broader category.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PnAI7XPSSHPDZ-x4HSWWlg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H2-unkhnPQ_Im5Az51078A.png" /></figure><p>Anonymization in general and generalization are out of GDPR scope.</p><h4><strong>K-anonymization</strong></h4><p><a href="https://en.wikipedia.org/wiki/K-anonymity">K-anonymization</a> is anonymization technique combines generalization and masking/suppression.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Y5OayjW6BEPMmMZ6dxtoQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CAhPC0xfI21foF9v-E4Nnw.png" /></figure><p>Anonymization in general and k-anonymization are out of GDPR scope.</p><h4><strong>Scrambling</strong></h4><p>Scrambling is anonymization technique involves a mixing or obfuscation of characters.</p><p>Example: <br>6619 5829 2470 5074 credit card number<br>to:<br>4596 5482 6077 2019.</p><p><strong>Note:</strong> The process can sometimes be reversible.</p><p>Anonymization in general and scrambling are out of GDPR scope.</p><p>I cannot recommend scrambling as anonymization technique!</p><h4><strong>Blurring</strong></h4><p>Data blurring is anonymization technique uses an approximation of data values to render their meaning obsolete and/or make it impossible to identify individuals.</p><p>Example: <br>6619 5829 2470 5074 credit card number to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/283/1*xIyXVHDPoKgN5ep0XXYglA.png" /></figure><p><strong>Note:</strong> The process can sometimes be reversible.</p><p>Anonymization in general and PII blurring are out of GDPR scope.</p><p>I cannot recommend blurring as anonymization technique!</p><h4>Pseudonymization</h4><p>GDPR defines <a href="https://en.wikipedia.org/wiki/Pseudonymization">pseudonymization</a> as the processing of personal data in such a way that the data can no longer be attributed to a specific data subject without the use of additional information.</p><p>By holding the de-identified data separately from the “additional information,” the GDPR permits data handlers to use personal data more liberally without fear of infringing on the rights of data subjects. This is because the data only becomes identifiable when both elements are held together.</p><p>You can use <a href="https://github.com/joke2k/faker">Faker</a> and <a href="https://github.com/lk-geimfari/mimesis">Mimesis</a> Python libs for pseudonymization.</p><blockquote><a href="https://github.com/joke2k/faker"><strong>Faker</strong></a> is a Python package that generates fake data for you.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EA-UMDU7cFZC6-PBEgvCAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wLLsILnvf8jGroIdXs1FNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VhfbkXb679eLve70bSBH9g.png" /></figure><p><strong>Note:</strong> The resulting string is always the same for the same input, so that analytical correlations are still possible.</p><p>I cannot recommend pseudonymization with <a href="https://github.com/joke2k/faker">Faker</a>/<a href="https://github.com/lk-geimfari/mimesis">Mimesis</a> Python libs!</p><h4><strong>Tokenization</strong></h4><p><a href="https://en.wikipedia.org/wiki/Tokenization_(data_security)">Tokenization</a> is pseudonymization technique substitutes a sensitive data element with a non-sensitive equivalent, referred to as a token, that has no extrinsic or exploitable meaning or value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EA-UMDU7cFZC6-PBEgvCAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fa9zhk2iYo6hXvOKsrqhng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6eHxdUjxkofWDV6LL_t1uw.png" /></figure><p><strong>Note:</strong> The resulting token is always the same for the same input, so that analytical correlations are still possible.</p><p>I can recommend tokenization as pseudonymization technique.</p><h4><strong>Hashing</strong></h4><p><a href="https://en.wikipedia.org/wiki/Hash_function">Hashing</a> is pseudonymization technique returns a fixed size output from an input of any size and cannot be reversed.</p><p>However, if the range of input values the hash function are known they can be replayed through the hash function in order to derive the correct value for a particular record.</p><p>Hash functions are subject to brute force attacks. Pre-computed tables can also be created to allow for the bulk reversal of a large set of hash values.</p><p>The use of a <a href="https://en.wikipedia.org/wiki/Salt_(cryptography)">salted-hash function</a> (where a random value, known as the “salt”, is added to the attribute being hashed) can reduce the likelihood of deriving the input value but, calculating the original attribute value hidden behind the result of a salted hash function may still be feasible with reasonable means.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EA-UMDU7cFZC6-PBEgvCAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f17tAcwDJxlRJdiE-a8mgw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y4mhQlil5KijIN_tc9DMuA.png" /></figure><p>Keyed-hash function with stored key uses a secret key as an additional input (this differs from a salted hash function as the salt is commonly not secret).</p><p><strong>Note:</strong> The resulting hash is always the same for the same input, so that analytical correlations are still possible.</p><p>I can strongly recommend keyed-hash function as pseudonymization technique.</p><h4><strong>Encryption</strong></h4><p>Encryption with secret key is pseudonymization technique. In this case, the holder of the key can trivially re-identify each data subject through decryption of the dataset because the personal data are still contained in the dataset, albeit in an encrypted form.</p><p>Assuming that a state-of-the-art encryption scheme was applied, decryption can only be possible with the knowledge of the key.</p><p>Symmetric encryption vs asymmetric. Today’s standard of symmetric encryption scheme is <a href="https://en.wikipedia.org/wiki/Advanced_Encryption_Standard">AES</a>. Symmetric encryption has its weakness in the presence of the secret key on the encryption side.</p><p>Asymmetric encryption schemes such as <a href="https://en.wikipedia.org/wiki/RSA_(cryptosystem)">RSA</a>, <a href="https://en.wikipedia.org/wiki/Digital_Signature_Algorithm">DSA</a>, or <a href="https://en.wikipedia.org/wiki/Elliptic-curve_cryptography">ECC</a> use two keys: public and private. Encryption of data uses the public key and even if an attacker attains this public key, he is not able to decrypt protected data.</p><p>I cannot recommend encryption as pseudonymization technique!</p><h4><strong>Key deletion or crypto-shredding</strong></h4><p>Key deletion or <a href="https://en.wikipedia.org/wiki/Crypto-shredding">crypto-shredding</a> pseudonymization technique may be equated to selecting a random number as a pseudonym for each attribute in the database and then deleting the correspondence table.</p><p>You can upgrade tokenization, keyed-hash function, and encryption techniques.</p><p>Considering a state-of-the-art algorithm, it will be computationally hard for an attacker to decrypt or replay the function, as it would imply testing every possible key, given that the key is not available.</p><p>I cannot recommend this pseudonymization technique!</p><h4><strong>Sources</strong></h4><ul><li><a href="https://ec.europa.eu/justice/article-29/documentation/opinion-recommendation/files/2014/wp216_en.pdf">Opinion 05/2014 on Anonymisation Techniques</a></li><li><a href="https://teskalabs.com/blog/data-privacy-pseudonymization-anonymization-encryption">Pseudonymization, Anonymization, Encryption … what is the difference?</a></li><li><a href="https://medium.com/@alexewerlof/gdpr-pseudonymization-techniques-62f7b3b46a56">GDPR pseudonymization techniques</a></li></ul><p><a href="https://s3-eu-west-1.amazonaws.com/korniichuk.share/code/ruslan_korniiichuk_-_gdpr_20190417.ipynb"><strong>Download Jupyter Notebook with source code…</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c399b44ba3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Easy-to-use GDPR guide for Data Scientist. Part 1/2]]></title>
            <link>https://korniichuk.medium.com/gdpr-guide-1-84364ec36b79?source=rss-9be3c76b4804------2</link>
            <guid isPermaLink="false">https://medium.com/p/84364ec36b79</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[gdpr]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[gdpr-compliance]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Ruslan Korniichuk]]></dc:creator>
            <pubDate>Tue, 09 Apr 2019 16:43:27 GMT</pubDate>
            <atom:updated>2019-04-23T13:29:53.141Z</atom:updated>
            <content:encoded><![CDATA[<p>As successful Data Scientist, what can I do and what cannot to be GDPR compliant? Amazon Web Services (AWS) vs on-premise. De-identification vs Anonymization. Anonymization: removing, masking or suppression, generalization, k-anonymization, scrambling, blurring. Pseudonymization: tokenization, hashing, encryption, key deletion or crypto-shredding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*NVv6qAC8FbPIYvKfKSTxqQ.png" /></figure><h4>Table of Contents</h4><ul><li><a href="https://medium.com/p/84364ec36b79#2655">AWS vs on-premise</a></li><li><a href="https://medium.com/p/84364ec36b79#8599">Amazon S3 bucket encryption</a></li><li><a href="https://medium.com/p/84364ec36b79#f0cd">Amazon S3 bucket access</a></li><li><a href="https://medium.com/p/7c399b44ba3#6964"><strong>De-identification vs Anonymization (part 2)</strong></a></li><li><a href="https://medium.com/p/7c399b44ba3#e779">Removing (part 2)</a></li><li><a href="https://medium.com/p/7c399b44ba3#1939">Masking or suppression (part 2)</a></li><li><a href="https://medium.com/p/7c399b44ba3#4ce7">Generalization (part 2)</a></li><li><a href="https://medium.com/p/7c399b44ba3#b2f9">K-anonymization (part 2)</a></li><li><a href="https://medium.com/p/7c399b44ba3#a0c6">Scrambling (part 2)</a></li><li><a href="https://medium.com/p/7c399b44ba3#142e">Blurring (part 2)</a></li><li><a href="https://medium.com/p/7c399b44ba3#34e6"><strong>Pseudonymization (part 2)</strong></a></li><li><a href="https://medium.com/p/7c399b44ba3#3da1">Tokenization (part 2)</a></li><li><a href="https://medium.com/p/7c399b44ba3#adce">Hashing (part 2)</a></li><li><a href="https://medium.com/p/7c399b44ba3#730b">Encryption (part 2)</a></li><li><a href="https://medium.com/p/7c399b44ba3#233f">Key deletion or crypto-shredding (part 2)</a></li></ul><p><strong>Disclaimer:</strong> I do not represent my current/previous employers on my personal Medium blog.</p><p>Guide below covers main steps for data processor, not data controller.</p><blockquote><strong>Processor</strong> means a natural or legal person, public authority, agency or other body which processes personal data on behalf of the controller<br>Source: <a href="http://bit.ly/2OYpwVA">http://bit.ly/2OYpwVA</a></blockquote><h4>AWS vs on-premise</h4><p>I can strongly recommend store data in cloud like AWS or GCP. Do not use storage services like Google Drive, Dropbox, Box, and OneDrive. Store only encrypted data on your USB flash drives and external HDD/SSD.</p><p><a href="https://aws.amazon.com/s3/">Amazon S3</a> is object storage built to store and retrieve any amount of data. I’ll show you how looks S3 GDPR compliant bucket in next section.</p><h4>Amazon S3 bucket encryption</h4><p>Step is not required. As successful Data Scientist, I can use Amazon S3 bucket encryption.</p><p>Navigate to <a href="https://console.aws.amazon.com/kms/">https://console.aws.amazon.com/kms/</a> and click Create a key button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cmjdleB7Mje30wbiqF5PTw.png" /></figure><p>Enter Alias (e.g. medium) and Description (e.g. Key for Amazon S3 bucket encryption). Click Next button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TFXfVdlKlPutYlvze3hojg.png" /></figure><p>Provide tags like Team, Owner, and Impact. Click Next button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fDRWPKOc7COGO6dpbOEdkQ.png" /></figure><p>Click Next button. Click Next button. Review policy and click Finish button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FoVqUM_yMhYnqiPEultvPQ.png" /></figure><p>Navigate to <a href="https://console.aws.amazon.com/s3/">https://console.aws.amazon.com/s3/</a> and select your bucket. Select Properties tab. Click Default encryption button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*368teqq515oDt8OOp2K67A.png" /></figure><p>Select AWS-KMS option. Select KMS key (e.g. medium) and click Save button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y0KowwSMrN5aJhfcS35s6g.png" /></figure><p>Amazon S3 automatically encrypting objects stored in bucket now.</p><h4>Amazon S3 bucket access</h4><p>Step is required! Navigate to <a href="https://console.aws.amazon.com/s3/">https://console.aws.amazon.com/s3/</a> and find your bucket (e.g. korniichuk.enc). Verify Bucket and objects not public access settings:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ISxNVexsGONlbhFI2XKoMg.png" /></figure><p>If you need fix access settings, select your bucket (e.g. korniichuk.enc) and click Edit public access settings button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gIthzZlY6ZdpVw1JPXLWtg.png" /></figure><p><strong>Summary:</strong> Amazon S3 bucket and object are not public. You can use Amazon S3 bucket encryption as extra option.</p><p><a href="https://medium.com/@korniichuk/gdpr-guide-2-7c399b44ba3"><strong>Navigate to Part 2</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84364ec36b79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connect Amazon Lex Bot to Facebook Messenger]]></title>
            <link>https://blog.chatbotslife.com/lex-to-messenger-f0049ee1e8e9?source=rss-9be3c76b4804------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0049ee1e8e9</guid>
            <category><![CDATA[facebook-messenger]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[lex]]></category>
            <category><![CDATA[amazon-lex]]></category>
            <dc:creator><![CDATA[Ruslan Korniichuk]]></dc:creator>
            <pubDate>Thu, 04 Apr 2019 20:14:27 GMT</pubDate>
            <atom:updated>2019-04-10T13:15:45.737Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ll show you how to integrate your Amazon Lex bot to the Facebook Messenger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*oao8ayU3Pl1pWDz4lbBbdQ.png" /></figure><h4>Table of Contents</h4><ul><li><a href="https://medium.com/p/f0049ee1e8e9#0424">Step 1: Create Facebook page</a></li><li><a href="https://medium.com/p/f0049ee1e8e9#2eb3">Step 2: Create Facebook developer account</a></li><li><a href="https://medium.com/p/f0049ee1e8e9#eb03">Step 3: Create and configure Facebook app</a></li><li><a href="https://medium.com/p/f0049ee1e8e9#6411">Step 4: Configure AWS Lex bot</a></li><li><a href="https://medium.com/p/f0049ee1e8e9#f8c3">Step 5: Configure Facebook app webhook</a></li><li><a href="https://medium.com/p/f0049ee1e8e9#e6fb">Step 6: Test</a></li></ul><h4>Step 1: Create Facebook page</h4><p>If you don’t already have a Facebook page, create one.</p><p>Navigate to <a href="https://www.facebook.com/">https://www.facebook.com/</a> and select Create menu. Select Page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hAJUIUFRnZ32G2lj9SY4zQ.png" /></figure><p>Choose Facebook page category. For example Community or Public Figure. Click Get Started:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PHQlXb6-NIVvayIhAyTSHQ.png" /></figure><p>Enter Page Name (e.g. Connect Amazon Lex to Messenger). Select Category (e.g. Education Website). Click Continue button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ESfKk7MzG87_o172FUl84w.png" /></figure><p>Click Skip button. Click Skip button.</p><p>Copy and save link to your new Facebook page. Example:<br><a href="https://www.facebook.com/Connect-Amazon-Lex-to-Messenger-416539788894331/">https://www.facebook.com/Connect-Amazon-Lex-to-Messenger-416539788894331/</a></p><figure><a href="https://www.eventbrite.com/e/chatbot-ai-conference-tickets-55380774387"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ac4Wm94IFfL37KAAXnEUXQ.png" /></a></figure><p>Do not close browser tab with Facebook page. We will test Amazon Lex <a href="https://chatbotslife.com/">bot</a> here later.</p><h4>Step 2: Create Facebook developer account</h4><p>If you don’t already have a Facebook developer account, create one.</p><p>Open <a href="https://developers.facebook.com/docs/pages/getting-started">Getting Started</a> docs and click Create Developer Account button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yb23BGCgHk_xhw1bokli_Q.png" /></figure><p>Click Next button. Click Next button. Select Student.</p><h3>Top 4 Bot Tutorials</h3><blockquote><a href="https://chatbotslife.com/chatbot-conference-2019-in-nyc-8b010058f8f9">1. Chatbot Conference 2019 in NYC</a></blockquote><blockquote><a href="https://chatbotslife.com/best-chatbot-platforms-to-build-a-chatbot-13b846a59ddd">2. Best chatbot platforms to build a chatbot</a></blockquote><blockquote><a href="https://chatbotslife.com/build-simple-chatbot-with-rasa-part-1-f4c6d5bb1aea">3. Build simple ChatBot in Python with RASA — Part 1</a></blockquote><blockquote><a href="https://chatbotslife.com/build-simple-chatbot-with-rasa-part-2-16726357b72c">4. Build a simple ChatBot in Python with RASA — Part 2</a></blockquote><h4>Step 3: Create and configure Facebook app</h4><p>Navigate to <a href="https://developers.facebook.com/apps/">https://developers.facebook.com/apps/</a> and click Add a New App button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pesvFKKniJ6BuwfBltQRCA.png" /></figure><p>Enter Display Name (e.g. Medium). Click Create App ID button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FZKA46I7Wrz9mPJ4ZDIRHg.png" /></figure><p>Click Skip button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PJQNwskgebSHcwRUxjWlVg.png" /></figure><p>Find App Secret. Click Show button and copy App Secret. Example:<br> f11ea12fd6a7f81598f0bbcf09cb533d</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qmXix0MWP5FoBbcDKMD9ig.png" /></figure><p>Copy and save your App Secret.</p><p>Navigate to PRODUCTS and click plus button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RbmsWZPDDMt-hYk8sN7-Aw.png" /></figure><p>Find Messenger and click Set Up button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MEGr4_uStbfEA2rAwP7fQw.png" /></figure><p>Navigate to Access Tokens section. Select you Facebook page (e.g. Connect Amazon Lex to Messenger). Click Edit Permissions button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ItzJUHrBOobW2dQluO8Jg.png" /></figure><p>Select your Facebook page (e.g. Connect Amazon Lex to Messenger) and click Next. Select all options and click Done button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*AB27gpo6rAfSzffAB4ujog.png" /></figure><p>Click OK. Navigate to Access Tokens section again and copy Page Access Token. Example:<br>EAAczTZAAnLqkBADJoZB7MXuZBRZB2uwbozPKX57DF4N3cXcxUKRMqxFG3NNGLRukqk0DBZAUpE5JOnfdaBGU7sqFZB37JYepZBT9JR4B74FuY3yWfKE1X7ffKMiektd3nGp4ZBINhU98DC0G8gg5JCivqOYxaESavcfZAGBrUUCvi3AZDZD</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dAk2fPdPgNmB_D1F6ncdgw.png" /></figure><p>Copy and save your Page Access Token.</p><p>Do not close browser tab. We will configure Webhooks section here later.</p><h4>Step 4: Configure AWS Lex bot</h4><p>Sign in to the AWS Management Console and open the Amazon Lex console at <a href="https://console.aws.amazon.com/lex/">https://console.aws.amazon.com/lex/</a>. Choose your Amazon Lex <a href="https://chatbotslife.com/">bot</a>. Select Channels tab. Select Facebook subtab. The console displays the Facebook integration page.</p><p>On the Facebook integration page, do the following:</p><ul><li>Type the following name: BotFacebookAssociation.</li><li>For KMS Key, select aws/lex .</li><li>For Alias, choose the bot alias (e.g. BETA).</li><li>For Verify Token, type a token. This can be any string you choose (e.g. MediumToken). You use this token later in the Facebook developer portal when you set up the Webhooks.</li><li>For Page Access Token, type the token that you obtained in Step 3. Example:<br>EAAczTZAAnLqkBADJoZB7MXuZBRZB2uwbozPKX57DF4N3cXcxUKRMqxFG3NNGLRukqk0DBZAUpE5JOnfdaBGU7sqFZB37JYepZBT9JR4B74FuY3yWfKE1X7ffKMiektd3nGp4ZBINhU98DC0G8gg5JCivqOYxaESavcfZAGBrUUCvi3AZDZD</li><li>For App Secret Key, type the key that you obtained in Step 3. Example:<br> f11ea12fd6a7f81598f0bbcf09cb533d</li></ul><p>Click Activate button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3LNtbPBDBZg9rDHmTM0XmA.png" /></figure><p>Cope and save Endpoint URL. Example:<br><a href="https://channels.lex.eu-west-1.amazonaws.com/facebook/webhook/1d862eed-c141-44cf-9056-f870197d1d9a">https://channels.lex.eu-west-1.amazonaws.com/facebook/webhook/1d862eed-c141-44cf-9056-f870197d1d9a</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ojWggUDI0qXPsGNupO4Uig.png" /></figure><p>You can close browser tab with Amazon Lex <a href="https://chatbotslife.com/">bot</a>.</p><h4>Step 5: Configure Facebook app webhook</h4><p>Navigate back to your tab with Facebook app (e.g. Connect Amazon Lex to Messenger).</p><p>Navigate to Webhooks section in PRODUCTS-Messenger-Settings. Click Subscribe To Events button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hbcVJuHPCBWKunzf_K9b7A.png" /></figure><p>For Callback URL, type the Endpoint URL provided in the Amazon Lex console earlier in Step 4. Example:<br><a href="https://channels.lex.eu-west-1.amazonaws.com/facebook/webhook/1d862eed-c141-44cf-9056-f870197d1d9a">https://channels.lex.eu-west-1.amazonaws.com/facebook/webhook/1d862eed-c141-44cf-9056-f870197d1d9a</a><br>For Verify Token, type the same token that you used in Amazon Lex in Step 4 (e.g. MediumToken). Choose Subscription Fields (messages, messaging_postbacks, and messaging_optins). Click Verify and Save button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R8WJ09-BaOQL-aaVq4WlEQ.png" /></figure><p>In Webhooks section select your Facebook page (e.g. Connect Amazon Lex to Messenger) and click Subscribe button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rzPlZ7eTYNqTRCqHPnySvQ.png" /></figure><p>You can close browser tab with Facebook app.</p><h4>Step 6: Test</h4><p>Navigate back to your browser tab Facebook page. Example:<br><a href="https://www.facebook.com/Connect-Amazon-Lex-to-Messenger-416539788894331/">https://www.facebook.com/Connect-Amazon-Lex-to-Messenger-416539788894331/</a></p><p>Select View as Page Visitor option:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D-aFIBWXG8y0WoCkiIhKzw.png" /></figure><p>You can now start a conversation from Facebook Messenger with your Amazon Lex bot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L5NfiLNcMmWiztXS6VhkPQ.png" /></figure><p>You can <a href="https://www.facebook.com/Connect-Amazon-Lex-to-Messenger-416539788894331/">test my PizzaOrderingBot here</a>.</p><h3>Don’t forget to give us your 👏 !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*0HRfKGozR2xYxsvk" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F3e59ef%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F3e59ef&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252F3e59ef%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href">https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href</a></iframe><figure><a href="https://chatbotslife.com/bot-communities-mastermind-group-d2dae9876709#.53x0py6ou"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*6XUspT9JOSq0w0Fi35HIaA.png" /></a></figure><figure><a href="https://m.me/ChatbotsLife"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*c1LDMH5vbnIz9rmAka8Hwg.png" /></a></figure><figure><a href="https://chatbotslife.com/chatbot-development-hire-top-ai-chatbot-developers-c8b45ef7f207"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*D0Jf3dI6ZThtqcfwDYY7mg.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0049ee1e8e9" width="1" height="1" alt=""><hr><p><a href="https://blog.chatbotslife.com/lex-to-messenger-f0049ee1e8e9">Connect Amazon Lex Bot to Facebook Messenger</a> was originally published in <a href="https://blog.chatbotslife.com/">Chatbots Life</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>