Getting Started with Pantheon

Video loading...

  • 0:00
    Manage Drupal Sites with Pantheon Getting Started with Pantheon Addison Berry
  • 0:08
    OK, so it's time to actually get started using Pantheon.
  • 0:14
    In this lesson, we're going to go ahead and create an account.
  • 0:17
    We'll create our first site.
  • 0:19
    We're going to take a tour of the interface so you can see what you get
  • 0:22
    both with your account and within that first site that we've created.
  • 0:26
    And importantly, we're going to review the credentials that you need.
  • 0:30
    We're going to look at SSH keys and how to connect to a new site that you've created.
  • 0:35
    These will be important things for you to keep track of.
  • 0:38
    In order to get started with Pantheon, you're obviously going to need to go to their website
  • 0:42
    which is at Pantheon.io.
  • 0:45
    And then from here you'll see we want to create a free account.
  • 0:49
    And we'll just go ahead and do that real quickly.
  • 0:53
    So once you have your account created,
  • 0:56
    the first time that you get in, you're going to see a very kind of simple dashboard here,
  • 1:00
    a list of sites, which I haven't created any yet. We'll do that in a minute.
  • 1:04
    Organizations, this is Pantheon for agencies,
  • 1:07
    and we'll talk about that more later.
  • 1:09
    If you want to actually have your whole organization, your company working on sites in here together.
  • 1:15
    The support is simply your Pantheon Support area.
  • 1:19
    And then of course we have Account information.
  • 1:22
    And this is sort of your standard fill in your information kind of thing here.
  • 1:27
    The important thing I want to point out on this screen though,
  • 1:31
    under your Account is your SSH Keys.
  • 1:33
    In order to use Git which I highly recommend
  • 1:37
    and it really is kind of a standard way of doing things especially on Pantheon,
  • 1:41
    you're going to need to have an SSH Key.
  • 1:44
    So if I click on this under my account information here,
  • 1:48
    You'll see it tells me I don't have any SSH Keys here yet obviously.
  • 1:51
    If you don't know what an SSH Key is or how to create one,
  • 1:56
    there is a link here to documentation from Pantheon
  • 1:59
    on how to do this and how to get it all set up.
  • 2:03
    Briefly, an SSH Key is a Secure Shell Key
  • 2:08
    so that you can identify yourself basically through computers.
  • 2:13
    And when you generate an SSH Key,
  • 2:16
    you get a private Key which you keep to yourself
  • 2:18
    and you get a public key which you give out.
  • 2:21
    And then that public key and that private key can match up
  • 2:25
    and then that will verify you.
  • 2:27
    So for more information, you would want to read this documentation here.
  • 2:31
    Once you've generated the SSH Key— it's not hard,
  • 2:34
    there's software on all the different operating systems to do this—
  • 2:37
    you want to generate the SSH Key on your local machine
  • 2:40
    and then you need to add the SSH Key here
  • 2:43
    so that Pantheon will be able to verify you
  • 2:46
    as you're working with Git.
  • 2:48
    It's a requirement of working with Git.
  • 2:50
    And so I'm just going to go ahead and add my SSH Key in here real quickly.
  • 2:53
    So I'll add the key,
  • 2:55
    and now you can see I have my local SSH Keys in here
  • 3:00
    and that means when I start using Git it will all work properly.
  • 3:02
    So this is an important step to make sure that you take care of this.
  • 3:06
    It will make your whole workflow with Pantheon much better.
  • 3:09
    So let's go back to Sites.
  • 3:12
    Let's actually just go ahead and create our first site
  • 3:14
    and just see what this process looks like.
  • 3:16
    So this is just going to create a blank vanilla site for me.
  • 3:20
    Give it any name that you want.
  • 3:23
    This is the—you can see the site development URL is showing up underneath here.
  • 3:29
    So that's what you'll be using while you're working on it.
  • 3:31
    But that's not necessarily the final domain name of your site.
  • 3:35
    When you launch it live, you can set up a real domain name.
  • 3:39
    But obviously you probably want it to match somewhat.
  • 3:42
    Now I have two options, Start from Scratch or Import Archives.
  • 3:46
    We're going to do importing later.
  • 3:48
    I just want to start from scratch, and I'm going to create a Drupal 7 site.
  • 3:51
    You can see we have WordPress, Drupal 7, Drupal 6.
  • 3:55
    There's also a number of distributions for Drupal that you can choose,
  • 3:59
    so you can start off with any of those as your base site.
  • 4:02
    I'm just going to do a plain Drupal 7 site.
  • 4:10
    Once the site is done, I can visit my Pantheon dashboard.
  • 4:13
    This is going to take me to the site dashboard that I've just installed.
  • 4:17
    You can see right off that bat it's letting me know a little bit of what's going on here.
  • 4:22
    One of the first things that people want to do when they get to their site, of course,
  • 4:26
    is be able to connect to it, so you can actually start dealing
  • 4:28
    with things in the code and that kind of a thing.
  • 4:31
    So here's some helpful links to help you get sorted out
  • 4:34
    with documentation on that front.
  • 4:36
    But let's take a quick tour and see what this dashboard is giving us here.
  • 4:39
    So here's my site. I have my sandbox.
  • 4:42
    If I wanted to invite other people, I could invite other people to work on this site.
  • 4:47
    And then I have my general settings
  • 4:49
    which is mostly about being able to launch it,
  • 4:53
    adding the billing information and that kind of a thing for this site.
  • 4:57
    Now we have 4 items here, and you'll notice I'm in Dev.
  • 5:01
    So when it first creates a new site for you,
  • 5:03
    it's going to create a development environment site for you.
  • 5:06
    So that's why I'm in the Dev tab here.
  • 5:10
    You'll notice we also have Test and Live,
  • 5:14
    and these are the other two environments that you can have in Pantheon.
  • 5:18
    But I haven't obviously created those yet or done anything with those,
  • 5:21
    so we're going to just sort of stick in Dev right now.
  • 5:25
    Now you'll also notice we have this Multidev tab over here.
  • 5:28
    Multidev is a feature of Pantheon for agencies.
  • 5:32
    And so this is what allows you to have multiple development environments
  • 5:36
    instead of just this one development environment.
  • 5:38
    And we'll take a much deeper look at that later on in this series.
  • 5:44
    So I'm just going to stick to this now.
  • 5:46
    Now that I have this brand new Dev environment site created,
  • 5:49
    what do I have? So I can obviously go to the site.
  • 5:52
    So I could go to the actual Drupal installation
  • 5:55
    and go through the installation process and begin building my site.
  • 5:58
    So that's handy. And then we have these sections of our dashboard here.
  • 6:03
    So it starts off with code.
  • 6:05
    As you can see, you can choose to do SFTP or Git.
  • 6:10
    In the background, Pantheon is using Git.
  • 6:14
    You can check your connection information here.
  • 6:18
    So this shows me I'm in SFT mode,
  • 6:20
    so this shows me the SFT connection information.
  • 6:24
    I can switch this over to Git.
  • 6:27
    And once I switch it over to Git, you'll see it got rid of sort of that
  • 6:30
    Manual Making Commit message kind of thing.
  • 6:33
    It's giving me the SSH information here,
  • 6:39
    and it's giving me my Git connection information.
  • 6:42
    And again, it's talking about that SSH Key that I need.
  • 6:45
    So here's documentation on how to go ahead and get the Git clone going
  • 6:49
    and get going with my website development. So that information is here.
  • 6:54
    You can also—up here there's this Connection Info button.
  • 6:58
    If I click on this, this gives me all of the connection information that I need.
  • 7:03
    So Git, SFTP, and my database connection information.
  • 7:06
    We'll go down to Status.
  • 7:09
    This is just looking like if there's any updates on the status of the site.
  • 7:15
    There's nothing particular that's happening right now since it's a new site.
  • 7:18
    Workflow, we'll talk about workflow,
  • 7:21
    and then I'll test in Live.
  • 7:23
    And getting things all in sync, we'll talk about that more later.
  • 7:27
    There are currently no errors on my site.
  • 7:29
    That's good for a freshly installed site.
  • 7:32
    Domains in SSL—
  • 7:34
    so as I said, the domain name, that jumping cow that I put at the beginning,
  • 7:38
    that's part of my domain name for the development environment.
  • 7:41
    If I wanted to change the domain name from this,
  • 7:44
    which is what Pantheon generated for me, to something else,
  • 7:47
    I can choose a paid plan to actually give it
  • 7:50
    some other domain name if I wanted to. This is going to work fine for me.
  • 7:54
    And then again, SSL is something else again.
  • 7:56
    Once you're ready to launch your site, if you need SSL and stuff like that,
  • 7:59
    you would pay for that as part of the plan for your launch.
  • 8:03
    Backup, so I can create a backup.
  • 8:05
    This is my Dev environment, so it's not particularly critical,
  • 8:09
    but you can manually create backups here
  • 8:11
    and say how long you wanted them for.
  • 8:13
    You can create a backup schedule, but, again, that's something you'd need to add
  • 8:16
    to your plan and then pay for that.
  • 8:19
    And then security. So right now,
  • 8:21
    if you go to the jumping cow domain,
  • 8:23
    the site is up and running and it's available to the public.
  • 8:27
    If I wanted to lock that down— as I'm doing development,
  • 8:30
    I don't want people just randomly on the Internet finding the site or something like that.
  • 8:34
    You can lock it, and this will set up HTTP Authentication.
  • 8:38
    So that's like when you go to a website and the little window pops down
  • 8:41
    that asks for a password in order for you to actually access the website.
  • 8:45
    So you can actually set that up
  • 8:47
    by just putting this information in here and it will lock it down.
  • 8:49
    So that can be really nice to just keep eyes
  • 8:54
    off of your development site while you're working on it.
  • 8:56
    And you can see here the access is currently public
  • 9:00
    and this is also indicated up here.
  • 9:02
    So I can quickly see if I'm Public or Locked.
  • 9:06
    If you're looking at this, it will— if you click on that,
  • 9:09
    it would take you to this screen if you wanted to change those settings.
  • 9:12
    And then of course up here we also have the Clear Caches button.
  • 9:15
    It's kind of a classic thing on a Drupal site in particular
  • 9:18
    to clear all the caches.
  • 9:20
    So that's a quick tour of creating a new site
  • 9:24
    and what the interface actually looks like once you've created a new site.
  • 9:28
    So all of your sites will have this interface.
  • 9:30
    If I go up here to my account name,
  • 9:32
    you'll see I can go back to my main dashboard
  • 9:35
    which is just my overall account information.
  • 9:37
    But it also lists the sites so I can jump to a particular site
  • 9:41
    if I had a bunch of sites listed here.
  • 9:43
    And so back on the dashboard, you can now see that I have my site
  • 9:46
    has been created and is set up here,
  • 9:49
    and I can create another site if I would like to.
  • 9:52
    And this is where I can start managing
  • 9:55
    all the things that I'm going to be doing in Pantheon.
  • 9:59
    So in this lesson, we went ahead—
  • 10:02
    we went to Pantheon.io, we created an account there,
  • 10:05
    we created our first site,
  • 10:08
    and we took a tour of what we had both under the account
  • 10:13
    and once we created the site, that site dashboard that we had.
  • 10:16
    And we reviewed credentials. We reviewed both the SSH Key
  • 10:20
    that's associated with my user account
  • 10:22
    and we also looked at connection credentials that are needed
  • 10:26
    to connect to the individual site that I created
  • 10:29
    under the site dashboard for SFTP and Git and the database and that kind of a thing.
  • 10:34
    So now that's the basics of getting up and going with Pantheon.

Getting Started with Pantheon

Loading...

To get up and running with Pantheon, you'll need to create an account. In this tutorial we'll get signed up and create our first site. Then we'll take a tour of the user dashboard and site dashboard to see what you have to work with. We'll also make sure to point out where you manage your SSH keys for Git and get your connection information to start working on your new site.

Sponsored by Pantheon

Downloads: 
Log in or sign up to download companion files.
Additional resources: