Skip to main content

Posts

Using AWS Data Migration Service

 Want to share this easily?  Check out the Notion page. By Morgan Lucas (she/her) from this video by Johnny Chivers We use data migration services to, well, migrate data. But why would we want to do this?  Perhaps... We're moving our business to the cloud, and need to shift all of that cold storage we have onsite. We want to use it as a backup in cause our infrastructure is out of commission. We could have information to share with a 3rd party, and instead of giving access to on-site databases, we put it on AWS to share. Nevertheless, let's recap what I've done. Created publicly accessible, password-protected database with Amazon Aurora with PostgreSQL Compatibility to migrate to Amazon Dynamo DB Managed inbound rules of security group to limit access Used open source software HeidiDB to interact with database via a TCP/IP session and specific URL for DB (Not shown here for security)     Connected to Aurora PostgreSQL Database ran queries that deleted and cre...

The Wanton Destruction of a Nintendo Switch Joycon

I am a Nintendo household. I have every console from childhood - Some of the very oldest ones were my father's - except the Virtual Boy. I still have my GameCube, Wii, Wii U, and now the Switch.  When I received the Wii U with two games loaded onto it - Smash Bros and something called Splatoon, I wanted it for Smash Bros, but as a long time Smash Bros. player, it felt too odd to have my hands a foot away on the large, ungainly controller. Muscle memory was too strong. Since Splatoon was a new IP, it took less trouble to get accustomed to the controls - And I fell in love with the entire colorful, post-apocalyptic aesthetic of squids dressing terribly and slinging paint around. A few days ago, Nintendo Europe released a video showing off the Splatoon 3 edition Switch, and it is gorgeous . It looks more colorful than the actual game. Wish I made enough money consistently to justify getting one of these. Want to help with that? See here and share .   I'm not super sure when these...

Packaging an app with Dockerfile

 Find a better formatted version of this post on Notion ! Share it. Share this too. The more sharing, the better. Packaging the app: ✅ Pushing to DockerHub: ✅ See Error Pushing to Docker Hub below for how I troubleshot the issue! What is my app? A static webpage I had created for fun a few months ago. I knew it would come in handy! What did I do? Used demo static webpage for testing. Created Dockerfile 💡 It should be Dockerfile, no extension. Dockerfile.Dockerfile is incorrect! Used nginx Alpine as server and the following code: FROM scratch as static-site WORKDIR /app COPY . . FROM nginx:1.16.0-alpine as server COPY --from=static-site /app /usr/share/nginx/html EXPOSE 80 CMD [ "nginx", "-g", "daemon off;"] From Mwiza Kumwenda (see resources below). I wondered if I should use "start" in the CMD [ "nginx", "-g", "daemon off;"] list/tuple, but it worked without it. Exposed port 80 Created image;...

A Serverless Application on AWS

  By Morgan Lucas, From Adrian Cantrill’s More Than Certified / GitHub . Find the Notion Page HERE . Pictured: Someone who would get use out of the app. Technologies used: AWS, Lambda, Step Functions, API Gateway, S3, SNS & SES. What Is This?: A small app for pets to both you for cuddles that will send an alert to a phone and an email address. Both points of contact must be opted into first. Stage 1 I register 4 objects - Two email addresses (sending messages, receiving messages) and 2 phone numbers (one to receive SMS [text messages], and an origination number. Stage 2 I used CloudFormation (again, our old friend) to create an IAM role that email_reminder_lambda uses to interact with other AWS services. Really beats searching through the policies! In the Lambda console, I create a function that uses Python 3.9 rundown and use the LambdaRole created via CloudFormation. There are multiple entries called some variation of LambdaRole, so look for the one with SES/SNS and C...

Featured: How Blogging Can Be A Powerful Form of Networking

 I was asked to write a post about...this blog! How and why I started it, and how it continues to help me. With a degree in Network Infrastructure, several certifications, but no real-world experience, I was “overqualified” for junior level roles straight out of college. Yet I still, simply put, couldn’t even begin to make a living in the field. This was 6 months after graduation, and 100s of applications and rejections in an allegedly ‘hot’ field. I had slipped through the cracks. Even though I’m in tech, I always wanted to be a writer when I was a kid. It occurred to me: what if I wrote about tech? I decided to put what I had learned to use and start my portfolio , to not only show employers what I learned, but also to remind myself what I could do. The beginning involved networking with any spare bit of technology I could find in my home - routers from previous ISPs, out of commission phones. Then it grew to tracking how telecom providers operated in my town, day jobs I...

I Attempted Terraform (OpenTofu) Remote and Imploded VS Code - Here’s How I Fixed It

9/20/2023: The open source version of Terraform is now  OpenTofu    Find a better formatted version of this post on my Notion . Photo by Susan Wilkinson on Unsplash What is Terraform Remote It can store state files of Terraform remotely. It’s used more when there are multiple developers working on one thing, so someone’s state isn’t totally overwritten. Similar to CircleCI or Jenkins. Why Did You Try It? To see if I could! What Did You Do? The code worked - It was my S3 bucket permissions that were a little off, and did not allow me to place anything in there unless I went into the GUI and did it myself - which is time intensive and defeats the purpose of this project a bit. What Happened Afterward? Uh, well, VS Code suddenly had a lot of issues with permissions - It seems to have imploded the executable on my machine. I couldn’t start it, (’The location of this file could not be found’), but it wasn’t in my list of programs to uninstall - It was a ghost program. C...

Packaging a Static Website with Dockerfile and pushing to DockerHub

 Want to read this with better formatting? Of course you do; Check out the page on Notion !   What's in the image? A simple static webpage I had created for fun a few months ago. I knew it would come in handy! What did I do? Used demo static webpage for testing. Created Dockerfile 💡 It should be Dockerfile, no extension. Dockerfile.Dockerfile is incorrect! Used nginx Alpine as server and the following code:  FROM scratch as static-site  WORKDIR /app  COPY . . [#to same directory] FROM nginx:1.16.0-alpine as server  COPY --from=static-site /app /usr/share/nginx/html  EXPOSE 80 [ #For web access] CMD [ "nginx", "-g", "daemon off;"]   From Mwiza Kumwenda (see resources below).   CMD [ "nginx" , "-g" , "daemon off;" ]       I wondered if I should use "start" in the CMD [ "nginx", "-g", "daemon off;"] list/tuple, but it worked to package the image without it  Actually, push...