{"id":1446,"date":"2022-05-17T15:58:48","date_gmt":"2022-05-17T19:58:48","guid":{"rendered":"https:\/\/www.grid.ai\/?p=1446"},"modified":"2022-09-10T11:16:42","modified_gmt":"2022-09-10T15:16:42","slug":"creating-sessions","status":"publish","type":"post","link":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/","title":{"rendered":"Creating Sessions"},"content":{"rendered":"<h3><strong>Overview of Sessions<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">For prototyping, debugging, or analyzing, sometimes you need a live machine you can access from your laptop or desktop. We call accessing these machines Sessions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Sessions provide a pre-configured environment in the cloud which allows you to prototype faster on the same hardware used to scale your model through Runs. You pay only for the compute you need in order to get a baseline operational, and you can easily pause and resume so you don\u2019t accidentally run up costs overnight or during the weekend.<\/span><\/p>\n<h3><strong>What can Sessions do?<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">Sessions are a favorite feature of many Grid users They allow you to do the following:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Change machine instance type<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Use Spot Instance<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Mount multiple GPUs<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Auto-mount Datastores<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Work with pre-installed JupyterLab<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SSH access<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Visual Studio Code access<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Pause the session to save work and minimize expenses<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Resume where you left off<\/span><\/li>\n<\/ul>\n<h3><strong>How to Create a Session<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">A new Session can be created through either the UI or CLI.<\/span><\/p>\n<h4><span style=\"font-weight: 400;\">Using the UI<\/span><\/h4>\n<p><span style=\"font-weight: 400;\">From the Grid UI, you can create a Session by selecting the <\/span><b>New <\/b><span style=\"font-weight: 400;\">button at the top right, where you can then choose the <\/span><b>Sessions <\/b><span style=\"font-weight: 400;\">option.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1447 size-full\" src=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session.png\" alt=\"New Session\" width=\"1200\" height=\"600\" srcset=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session.png 1200w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session-300x150.png 300w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session-1024x512.png 1024w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session-768x384.png 768w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session-600x300.png 600w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">The New Session window will open and you will have the following customization options:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Session<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Datastore<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Compute<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1448 size-full\" src=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session-Window.png\" alt=\"New Session Window\" width=\"1200\" height=\"892\" srcset=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session-Window.png 1200w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session-Window-300x223.png 300w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session-Window-1024x761.png 1024w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session-Window-768x571.png 768w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Sessions-New-Session-Window-600x446.png 600w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p><b>Session<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The SESSION NAME is auto-generated, but you can change it if you prefer.<\/span><\/p>\n<p><b>Datastore<\/b><\/p>\n<p><span style=\"font-weight: 400;\">If you\u2019ve created one or more Datastores, you can then select the one you want to use from the NAME dropdown.<\/span><\/p>\n<p><b>Compute<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Now it\u2019s time to select the INSTANCE you want to use.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is the pre-configured cloud hardware available to you. A 2x CPU system will be used by default, but you can browse from other selections in the dropdown that include a variety of GPU instances and systems with up to 96x CPUs. Deciding which one to select will just be a question of estimated cost and how long it can take for your Session to complete.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you have a large Datastore and expect your Session to take a large amount of time to complete, you can consider a GPU instance to get it done faster (this is ideal for processing audio, images and video). Keep in mind that you will need to add a credit card in order to select a GPU instance since the cost to run these are higher than a CPU instance.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If your job can support being interrupted at any time (i.e. fine tuning, or a model that can be restarted), then you can enable <\/span><a href=\"https:\/\/docs.grid.ai\/features\/runs\/Creating%20Runs\/Adv%20Runs\/interruptible-machines\"><b><u>Use Spot Instance<\/u><\/b><\/a><span style=\"font-weight: 400;\"> to lower training and development costs.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Finally, you can adjust the DISK SIZE (GB). By default, this is set to 200GB. Disk size is what you want to allocate to the Session in GB (Gigabytes). Increasing this number allows you more space for storing artifacts, downloaded files, and other project data, although the default setting is generally fine to use in many cases.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When you have finished with your customizations, select the <\/span><b>Start Session<\/b><span style=\"font-weight: 400;\"> button at the bottom right.<\/span><\/p>\n<h4><span style=\"font-weight: 400;\">Using the CLI<\/span><\/h4>\n<p><span style=\"font-weight: 400;\">You can also create a new Session using the CLI with the command:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">grid session create<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">For example, the CLI command for the default INSTANCE Session is:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\"># session with default 2x CPU<\/span>\r\n<span style=\"font-weight: 400;\">grid session create --instance_type m5a.large<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">You can find more details on using the CLI to adjust Session settings <\/span><a href=\"https:\/\/docs.grid.ai\/cli#grid-session\"><span style=\"font-weight: 400;\"><u>here<\/u><\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><i><span style=\"font-weight: 400;\">Note: If you want to change the instance type while running a Session, you will need to first pause the Session.<\/span><\/i><\/p>\n<h3><strong>Viewing a List of Sessions<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">Once you\u2019ve created a Session, you can view it in the Sessions window by clicking on <\/span><b>Sessions <\/b><span style=\"font-weight: 400;\">from the left navigation menu.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This view shows you both running and paused Sessions.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1449 size-full\" src=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/list-sessions.png\" alt=\"List Sessions\" width=\"1909\" height=\"460\" srcset=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/list-sessions.png 1909w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/list-sessions-300x72.png 300w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/list-sessions-1024x247.png 1024w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/list-sessions-768x185.png 768w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/list-sessions-1536x370.png 1536w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/list-sessions-600x145.png 600w\" sizes=\"(max-width: 1909px) 100vw, 1909px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">In the CLI you can list sessions with:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">grid session<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">In the List view, you can use the checkboxes to select one or more Sessions, and then use the options in the ACTIONS dropdown at the top right to either <\/span><b>Pause<\/b><span style=\"font-weight: 400;\">, <\/span><b>Resume <\/b><span style=\"font-weight: 400;\">or <\/span><b>Delete <\/b><span style=\"font-weight: 400;\">the selections.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1450 size-full\" src=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Delete-Session.png\" alt=\"Delete Session\" width=\"2080\" height=\"946\" srcset=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Delete-Session.png 2080w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Delete-Session-300x136.png 300w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Delete-Session-1024x466.png 1024w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Delete-Session-768x349.png 768w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Delete-Session-1536x699.png 1536w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Delete-Session-2048x931.png 2048w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Delete-Session-1920x873.png 1920w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/05\/Delete-Session-600x273.png 600w\" sizes=\"(max-width: 2080px) 100vw, 2080px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">If you are using the CLI, you can pause, resume and delete Sessions using the following commands:<\/span><\/p>\n<p><b>Pause<\/b><\/p>\n<pre><span style=\"font-weight: 400;\">grid session pause GRID_SESSION_NAME<\/span><\/pre>\n<p><b>Resume<\/b><\/p>\n<pre><span style=\"font-weight: 400;\">grid session resume GRID_SESSION_NAME<\/span><\/pre>\n<p><b>Delete<\/b><\/p>\n<pre><span style=\"font-weight: 400;\">grid session delete GRID_SESSION_NAME<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">And that\u2019s it for creating Sessions in Grid! You can check out other Grid tutorials, or browse the <\/span><a href=\"https:\/\/docs.grid.ai\/?_ga=2.248257472.699179390.1651686141-1382253488.1644426366\"><span style=\"font-weight: 400;\"><u>Grid Docs<\/u><\/span><\/a><span style=\"font-weight: 400;\"> to learn more about anything not covered in this tutorial.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As always, Happy Grid-ing!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview of Sessions For prototyping, debugging, or analyzing, sometimes you need a live machine you can access from your laptop or desktop. We call accessing these machines Sessions. Sessions provide a pre-configured environment in the cloud which allows you to prototype faster on the same hardware used to scale your model through Runs. You pay<a class=\"excerpt-read-more\" href=\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/\" title=\"ReadCreating Sessions\">&#8230; Read more &raquo;<\/a><\/p>\n","protected":false},"author":16,"featured_media":1352,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[103],"tags":[43],"glossary":[],"acf":{"hide_from_archive":null,"content_type":null,"code_embed":null,"code_shortcode":null,"custom_styles":null,"sticky":null,"additional_authors":null,"mathjax":null,"default_editor":null,"sections":null,"show_table_of_contents":null,"table_of_contents":null,"tabs":null,"tab_group":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating Sessions - Lightning AI<\/title>\n<meta name=\"description\" content=\"Follow this tutorial to learn how to create Sessions in Grid using the UI or CLI.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating Sessions - Lightning AI\" \/>\n<meta property=\"og:description\" content=\"Follow this tutorial to learn how to create Sessions in Grid using the UI or CLI.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/\" \/>\n<meta property=\"og:site_name\" content=\"Lightning AI\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-17T19:58:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-10T15:16:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/03\/dbf0a58a-fbe7-4ecf-bf51-c65f90243f9a.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"JP Hennessy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LightningAI\" \/>\n<meta name=\"twitter:site\" content=\"@LightningAI\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"JP Hennessy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/\"},\"author\":{\"name\":\"JP Hennessy\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6\"},\"headline\":\"Creating Sessions\",\"datePublished\":\"2022-05-17T19:58:48+00:00\",\"dateModified\":\"2022-09-10T15:16:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/\"},\"wordCount\":700,\"publisher\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/03\/dbf0a58a-fbe7-4ecf-bf51-c65f90243f9a.png\",\"keywords\":[\"Grid\"],\"articleSection\":[\"Technical Documentation\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/\",\"url\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/\",\"name\":\"Creating Sessions - Lightning AI\",\"isPartOf\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/03\/dbf0a58a-fbe7-4ecf-bf51-c65f90243f9a.png\",\"datePublished\":\"2022-05-17T19:58:48+00:00\",\"dateModified\":\"2022-09-10T15:16:42+00:00\",\"description\":\"Follow this tutorial to learn how to create Sessions in Grid using the UI or CLI.\",\"breadcrumb\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#primaryimage\",\"url\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/03\/dbf0a58a-fbe7-4ecf-bf51-c65f90243f9a.png\",\"contentUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/03\/dbf0a58a-fbe7-4ecf-bf51-c65f90243f9a.png\",\"width\":2560,\"height\":1280,\"caption\":\"Grid Tutorial: Creating Datastores\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lightning.ai\/pages\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating Sessions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lightning.ai\/pages\/#website\",\"url\":\"https:\/\/lightning.ai\/pages\/\",\"name\":\"Lightning AI\",\"description\":\"The platform for teams to build AI.\",\"publisher\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lightning.ai\/pages\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\",\"name\":\"Lightning AI\",\"url\":\"https:\/\/lightning.ai\/pages\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png\",\"contentUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png\",\"width\":1744,\"height\":856,\"caption\":\"Lightning AI\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/LightningAI\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6\",\"name\":\"JP Hennessy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g\",\"caption\":\"JP Hennessy\"},\"url\":\"https:\/\/lightning.ai\/pages\/author\/jplightning-ai\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating Sessions - Lightning AI","description":"Follow this tutorial to learn how to create Sessions in Grid using the UI or CLI.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/","og_locale":"en_US","og_type":"article","og_title":"Creating Sessions - Lightning AI","og_description":"Follow this tutorial to learn how to create Sessions in Grid using the UI or CLI.","og_url":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/","og_site_name":"Lightning AI","article_published_time":"2022-05-17T19:58:48+00:00","article_modified_time":"2022-09-10T15:16:42+00:00","og_image":[{"width":2560,"height":1280,"url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/03\/dbf0a58a-fbe7-4ecf-bf51-c65f90243f9a.png","type":"image\/png"}],"author":"JP Hennessy","twitter_card":"summary_large_image","twitter_creator":"@LightningAI","twitter_site":"@LightningAI","twitter_misc":{"Written by":"JP Hennessy","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#article","isPartOf":{"@id":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/"},"author":{"name":"JP Hennessy","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6"},"headline":"Creating Sessions","datePublished":"2022-05-17T19:58:48+00:00","dateModified":"2022-09-10T15:16:42+00:00","mainEntityOfPage":{"@id":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/"},"wordCount":700,"publisher":{"@id":"https:\/\/lightning.ai\/pages\/#organization"},"image":{"@id":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#primaryimage"},"thumbnailUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/03\/dbf0a58a-fbe7-4ecf-bf51-c65f90243f9a.png","keywords":["Grid"],"articleSection":["Technical Documentation"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/","url":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/","name":"Creating Sessions - Lightning AI","isPartOf":{"@id":"https:\/\/lightning.ai\/pages\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#primaryimage"},"image":{"@id":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#primaryimage"},"thumbnailUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/03\/dbf0a58a-fbe7-4ecf-bf51-c65f90243f9a.png","datePublished":"2022-05-17T19:58:48+00:00","dateModified":"2022-09-10T15:16:42+00:00","description":"Follow this tutorial to learn how to create Sessions in Grid using the UI or CLI.","breadcrumb":{"@id":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#primaryimage","url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/03\/dbf0a58a-fbe7-4ecf-bf51-c65f90243f9a.png","contentUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/03\/dbf0a58a-fbe7-4ecf-bf51-c65f90243f9a.png","width":2560,"height":1280,"caption":"Grid Tutorial: Creating Datastores"},{"@type":"BreadcrumbList","@id":"https:\/\/lightning.ai\/pages\/community\/technical-documentation\/creating-sessions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lightning.ai\/pages\/"},{"@type":"ListItem","position":2,"name":"Creating Sessions"}]},{"@type":"WebSite","@id":"https:\/\/lightning.ai\/pages\/#website","url":"https:\/\/lightning.ai\/pages\/","name":"Lightning AI","description":"The platform for teams to build AI.","publisher":{"@id":"https:\/\/lightning.ai\/pages\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lightning.ai\/pages\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lightning.ai\/pages\/#organization","name":"Lightning AI","url":"https:\/\/lightning.ai\/pages\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/","url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png","contentUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png","width":1744,"height":856,"caption":"Lightning AI"},"image":{"@id":"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/LightningAI"]},{"@type":"Person","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6","name":"JP Hennessy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g","caption":"JP Hennessy"},"url":"https:\/\/lightning.ai\/pages\/author\/jplightning-ai\/"}]}},"_links":{"self":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts\/1446"}],"collection":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/comments?post=1446"}],"version-history":[{"count":0,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts\/1446\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/media\/1352"}],"wp:attachment":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/media?parent=1446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/categories?post=1446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/tags?post=1446"},{"taxonomy":"glossary","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/glossary?post=1446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}