{"id":23,"date":"2024-12-03T02:32:24","date_gmt":"2024-12-03T02:32:24","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/seansyntax\/?p=23"},"modified":"2024-12-03T02:36:55","modified_gmt":"2024-12-03T02:36:55","slug":"creating-clouds-aws-setup","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/seansyntax\/2024\/12\/03\/creating-clouds-aws-setup\/","title":{"rendered":"Creating Clouds: AWS Setup"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/8098\/files\/2024\/12\/cloud-computing-2001090_1280.jpg\" alt=\"\" class=\"wp-image-25\" style=\"width:612px;height:auto\" srcset=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/8098\/files\/2024\/12\/cloud-computing-2001090_1280.jpg 1280w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/8098\/files\/2024\/12\/cloud-computing-2001090_1280-300x169.jpg 300w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/8098\/files\/2024\/12\/cloud-computing-2001090_1280-1024x576.jpg 1024w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/8098\/files\/2024\/12\/cloud-computing-2001090_1280-768x432.jpg 768w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/8098\/files\/2024\/12\/cloud-computing-2001090_1280-1200x675.jpg 1200w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p><strong>Welcome back to Sean\u2019s Syntax!<\/strong><br>This week, I\u2019ve been working on setting up an <strong>AWS Elastic Beanstalk environment<\/strong> for my groups trading algorithm project. While we haven\u2019t deployed anything just yet, the foundation is ready. I\u2019m excited to share what went into preparing this cloud.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why Elastic Beanstalk?<\/h3>\n\n\n\n<p>AWS Elastic Beanstalk provides simplicity and scalability. It&#8217;s designed with great tools for hosting our Python-based trading algorithm application since it automates server administration, scaling, and load balancing. This lets us focus on building and optimizing algorithms and leaving the infrastructure to Elastic Beanstalk.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Getting Started<\/h3>\n\n\n\n<p>Here\u2019s what I\u2019ve done so far to get the environment ready:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Platform Setup<\/strong><br>I selected <strong>Python<\/strong> as the platform for Elastic Beanstalk. It\u2019s compatible with the tools I\u2019m using like <strong>backtesting.py<\/strong> for the trading strategies. Elastic Beanstalk automatically provisions resources like EC2 instances, so all I had to do was pick the right options.<\/li>\n\n\n\n<li><strong>Environment Configuration<\/strong><br>I set up the basics:\n<ul class=\"wp-block-list\">\n<li>Created environment variables so we can plug in API keys and database credentials.<\/li>\n\n\n\n<li>Set up Elastic Beanstalks real-time monitoring of performance.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Preparing the Application<\/strong><br>Even though my group hasn\u2019t deployed yet, Here is what the full structure of the application will look like. The app includes:\n<ul class=\"wp-block-list\">\n<li>Application files for the trading dashboard.<\/li>\n\n\n\n<li>A <strong>requirements.txt<\/strong> file listing all the Python libraries the app needs.<\/li>\n\n\n\n<li>Config files for connecting to AWS services like RDS (database) and S3 (storage).<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Next Steps<\/h3>\n\n\n\n<p>Now that the cloud environment is ready our next task is to deploy the app and start testing it in the cloud. Elastic Beanstalk will help with this and once the app is live, I\u2019ll tweak the setup based on performance and scalability needs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome back to Sean\u2019s Syntax!This week, I\u2019ve been working on setting up an AWS Elastic Beanstalk environment for my groups trading algorithm project. While we haven\u2019t deployed anything just yet, the foundation is ready. I\u2019m excited to share what went into preparing this cloud. Why Elastic Beanstalk? AWS Elastic Beanstalk provides simplicity and scalability. It&#8217;s [&hellip;]<\/p>\n","protected":false},"author":14489,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-23","post","type-post","status-publish","format-standard","hentry","category-softwareproject"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/seansyntax\/wp-json\/wp\/v2\/posts\/23","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/seansyntax\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/seansyntax\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/seansyntax\/wp-json\/wp\/v2\/users\/14489"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/seansyntax\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":3,"href":"https:\/\/blogs.oregonstate.edu\/seansyntax\/wp-json\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":29,"href":"https:\/\/blogs.oregonstate.edu\/seansyntax\/wp-json\/wp\/v2\/posts\/23\/revisions\/29"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/seansyntax\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/seansyntax\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/seansyntax\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}