<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS ACCESS Connect to EC2 via jump host in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832108#M328883</link>
    <description>&lt;P&gt;Hi SASKiwi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MySQL Workbench is on my machine. Previously, I created an ODBC connection and then used SAS CONNECT to grab data (while connected via VPN), like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sql&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;connect to odbc (user=jschoeneberger password=XXXX dsn=ondcp_prod);&lt;/P&gt;&lt;P&gt;create table dfcme_data as …&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, however, I have the following to work with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A bastion.key.pem&lt;/LI&gt;&lt;LI&gt;An EC2 hostname and the ec2-user as the username&lt;/LI&gt;&lt;LI&gt;An RDS connection hostname&lt;/LI&gt;&lt;LI&gt;An RDS connection username (jschoeneberger) and password (XXXX)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In MySQL Workbench, I can create a connection that makes use of all of these ingredients and allows me to query the database. However, when using the ODBC Administrator tool component from Windows, I don’t see how to make use of the EC2 connection information and key. Does CONNECT offer the ability to create such a connection?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
    <pubDate>Wed, 07 Sep 2022 13:14:49 GMT</pubDate>
    <dc:creator>jschoeneberger</dc:creator>
    <dc:date>2022-09-07T13:14:49Z</dc:date>
    <item>
      <title>SAS ACCESS Connect to EC2 via jump host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/831605#M328635</link>
      <description>&lt;P&gt;I have a SQL database on an EC2 server set up by my company.&amp;nbsp; In the past, this database was in a different location, where i set up a simple ODBC connection through the typicaly ODBC Administrator in Windows, connect through a VPN, and read data from tables directly into SAS. For the new version of the database, they have told me to connect using a jump host. I have successfully made use of the jump host information (including a .pem key file) and the database ODBC information to connect using the mySQL Workbench utility. Now, i want to be able to connect directly through SAS.&amp;nbsp; The ODBC Administrator doesn't seem to be set up for accommodating jump host setups.&amp;nbsp; Is there a pass-through work-around for this?&amp;nbsp; Really, i'm looking for a step-by-step example of how to connect?&lt;/P&gt;&lt;P&gt;I have Base SAS, SAS ACCESS, and SAS CONNECT at my disposal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 19:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/831605#M328635</guid>
      <dc:creator>jschoeneberger</dc:creator>
      <dc:date>2022-09-02T19:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS Connect to EC2 via jump host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/831628#M328652</link>
      <description>&lt;P&gt;Is your SAS running on a PC or not? If it is on a PC, then the easiest solution would be to move your SAS installation onto the jump host, which would be a complete new install. Alternatively, if you have access to a SAS server, that could be configured to work directly with the SQL database and not using a jump host.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 22:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/831628#M328652</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-09-02T22:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS Connect to EC2 via jump host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/831930#M328818</link>
      <description>&lt;P&gt;SAS is running on a PC...and i can't envision a scenario where the database/IT folks will work to install SAS on that server just for this one project. Sigh&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 13:18:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/831930#M328818</guid>
      <dc:creator>jschoeneberger</dc:creator>
      <dc:date>2022-09-06T13:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS Connect to EC2 via jump host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832059#M328864</link>
      <description>&lt;P&gt;The problem is the database connection setup has to be on the same computer where SAS is installed. Why are your IT folks insisting on using a jump host? At the end of the day, the database connection still has to happen from your PC so you can extract database data back to it. I see no benefit to having a jump host in this scenario at all. A more common use case for jump hosts is where you are sharing it with other users but all of the required client software is installed on it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 21:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832059#M328864</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-09-06T21:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS Connect to EC2 via jump host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832060#M328865</link>
      <description>Pre I doubt, the Drupal 7 database was on a remote server that I had to connect to a VPN, the I created a connection to the database using the ODBC administrator tool from Windows.&lt;BR /&gt;&lt;BR /&gt;To connect to the new database, they. Liam the workaround for not using VPN is to use the jump host. I can connect to this database using My SQL Workbench’s ODBC connection and it works fine. But I don’t see the ability to supply the additional SSH credentials in the Windows ODBC tool…thought maybe SAS might have that enabled.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Sep 2022 21:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832060#M328865</guid>
      <dc:creator>jschoeneberger</dc:creator>
      <dc:date>2022-09-06T21:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS Connect to EC2 via jump host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832064#M328866</link>
      <description>&lt;P&gt;Avoiding a VPN seems like a minor benefit, unless that type of connection performs poorly. Is&amp;nbsp;&lt;SPAN&gt;My SQL Workbench sitting on the jump host though?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You mention having SAS/CONNECT. Do you use this to connect to a remote SAS server by any chance (that's what its purpose is if you didn't know)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 22:25:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832064#M328866</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-09-06T22:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS Connect to EC2 via jump host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832108#M328883</link>
      <description>&lt;P&gt;Hi SASKiwi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MySQL Workbench is on my machine. Previously, I created an ODBC connection and then used SAS CONNECT to grab data (while connected via VPN), like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sql&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;connect to odbc (user=jschoeneberger password=XXXX dsn=ondcp_prod);&lt;/P&gt;&lt;P&gt;create table dfcme_data as …&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, however, I have the following to work with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A bastion.key.pem&lt;/LI&gt;&lt;LI&gt;An EC2 hostname and the ec2-user as the username&lt;/LI&gt;&lt;LI&gt;An RDS connection hostname&lt;/LI&gt;&lt;LI&gt;An RDS connection username (jschoeneberger) and password (XXXX)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In MySQL Workbench, I can create a connection that makes use of all of these ingredients and allows me to query the database. However, when using the ODBC Administrator tool component from Windows, I don’t see how to make use of the EC2 connection information and key. Does CONNECT offer the ability to create such a connection?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 13:14:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832108#M328883</guid>
      <dc:creator>jschoeneberger</dc:creator>
      <dc:date>2022-09-07T13:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS Connect to EC2 via jump host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832178#M328907</link>
      <description>&lt;P&gt;There is no SAS/Connect there.&amp;nbsp; You are just using the SQL statement CONNECT.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 17:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832178#M328907</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-09-07T17:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS Connect to EC2 via jump host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832231#M328927</link>
      <description>&lt;P&gt;Right, my fault. That said, i can't seem to find any examples of making a connection in this scenario.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 19:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832231#M328927</guid>
      <dc:creator>jschoeneberger</dc:creator>
      <dc:date>2022-09-07T19:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ACCESS Connect to EC2 via jump host</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832244#M328933</link>
      <description>&lt;P&gt;You are using SAS/ACCESS to ODBC, just to clarify. So you have set up a DSN in the ODBC Administrator on your PC called&amp;nbsp;&lt;SPAN&gt;ondcp_prod? Do you specify a user name and account in the DSN?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It's at this point that I think you should open a SAS Tech Support track as you will get far quicker answers that way.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 20:16:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Connect-to-EC2-via-jump-host/m-p/832244#M328933</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-09-07T20:16:01Z</dc:date>
    </item>
  </channel>
</rss>

