{"id":46737,"date":"2024-07-25T04:51:26","date_gmt":"2024-07-25T04:51:26","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=46737"},"modified":"2024-07-25T04:59:30","modified_gmt":"2024-07-25T04:59:30","slug":"aws-tutorials-how-to-shutdown-stop-start-relational-database-service","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/aws-tutorials-how-to-shutdown-stop-start-relational-database-service\/","title":{"rendered":"AWS Tutorials: How to Shutdown (Stop \/ Start) Relational Database Service?"},"content":{"rendered":"\n<p>To shutdown (stop) and start a Relational Database Service (RDS) instance in AWS, you can follow these steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Stopping an RDS Instance<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Sign in to the AWS Management Console<\/strong>: Go to the <a href=\"https:\/\/aws.amazon.com\/console\/\" target=\"_blank\" rel=\"noopener\">AWS Management Console<\/a> and sign in with your credentials.<\/li>\n\n\n\n<li><strong>Navigate to the RDS Dashboard<\/strong>: In the AWS Management Console, open the RDS dashboard by searching for &#8220;RDS&#8221; in the services menu or directly selecting &#8220;RDS&#8221; from the services list.<\/li>\n\n\n\n<li><strong>Select the RDS Instance<\/strong>: In the RDS dashboard, select &#8220;Databases&#8221; from the navigation pane to view your instances. Find the RDS instance you want to stop.<\/li>\n\n\n\n<li><strong>Stop the Instance<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Select the checkbox next to the RDS instance you want to stop.<\/li>\n\n\n\n<li>Click on the &#8220;Actions&#8221; dropdown menu.<\/li>\n\n\n\n<li>Choose &#8220;Stop&#8221; from the list of actions.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Confirm the Stop Action<\/strong>: A confirmation dialog will appear. Confirm that you want to stop the instance by clicking &#8220;Stop.&#8221;<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Starting an RDS Instance<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Sign in to the AWS Management Console<\/strong>: Go to the <a href=\"https:\/\/aws.amazon.com\/console\/\" target=\"_blank\" rel=\"noopener\">AWS Management Console<\/a> and sign in with your credentials.<\/li>\n\n\n\n<li><strong>Navigate to the RDS Dashboard<\/strong>: In the AWS Management Console, open the RDS dashboard.<\/li>\n\n\n\n<li><strong>Select the RDS Instance<\/strong>: In the RDS dashboard, select &#8220;Databases&#8221; from the navigation pane to view your instances. Find the RDS instance you want to start.<\/li>\n\n\n\n<li><strong>Start the Instance<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Select the checkbox next to the RDS instance you want to start.<\/li>\n\n\n\n<li>Click on the &#8220;Actions&#8221; dropdown menu.<\/li>\n\n\n\n<li>Choose &#8220;Start&#8221; from the list of actions.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Confirm the Start Action<\/strong>: A confirmation dialog will appear. Confirm that you want to start the instance by clicking &#8220;Start.&#8221;<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">AWS Command Line Interface (CLI) to stop and start an RDS instance<\/h2>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">Stop RDS Instance:\n\n$ aws rds stop-db-instance --db-instance-identifier your-db-instance-identifier\n\nStart RDS Instance:\n\n\n$ aws rds start-db-instance --db-instance-identifier your-db-instance-identifier\n\nReplace your-db-instance-identifier <span class=\"hljs-keyword\">with<\/span> the identifier <span class=\"hljs-keyword\">of<\/span> your RDS instance.<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Script for Stopping and Starting RDS Instance<\/h2>\n\n\n\n<script src=\"https:\/\/gist.github.com\/rajeshkumarin\/00c77719d7e8fb1fe4a32784e4db3e1c.js\"><\/script>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\"><\/code><\/span><\/pre>","protected":false},"excerpt":{"rendered":"<p>To shutdown (stop) and start a Relational Database Service (RDS) instance in AWS, you can follow these steps: Stopping an RDS Instance Starting an RDS Instance AWS Command Line Interface (CLI) to stop and start an RDS instance Script for Stopping and Starting RDS Instance<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[5633],"tags":[],"class_list":["post-46737","post","type-post","status-publish","format-standard","hentry","category-aws"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/46737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=46737"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/46737\/revisions"}],"predecessor-version":[{"id":46740,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/46737\/revisions\/46740"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=46737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=46737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=46737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}