Hal  Sauer

Hal Sauer

1593637560

Turn Raspberry Pi into Server and Implement CI/CD Pipeline in AWS

I have always been into self development and learning new technologies. So, I asked my brain, why not use these interesting times of isolation to bump it up. Within a millisecond, my brain replied, “Hell Yeahhhhh”. That’s where all the action began!

I was invited to a small community group called “A Slice of Pi” looking for enthusiasts that wanted to push their understanding of Raspberry Pi through projects.

Via recommendation from the group, I ordered a Raspberry Pi Zero. A few hours later, I recalled that I already have an unused Raspberry Pi 3 that someone had lent me a while ago. A huge smile came on my face just because I didn’t have to wait for the new one to come in the post. The idea from the group was to setup a server at home “just because” is as a learning experience.

The idea from the group was to setup a server at home as a learning experience “just because”. (over zoom)

In the end, our architecture will look like this. This includes your website hosted on Raspberry Pi which is accessible via the public internet.

Let’s go on the mission together.

Get Equipped:

You will need the following:

  • Micro USB
  • Power cable
  • HDMI cable
  • Micro-SD card (32GB recommended)
  • Keyboard
  • Raspberry Pi
  • Monitor with HDMI input
  • Router connect to WiFi
  • Mouse
  • SD Card Adapter

Prepare the SD Card

Hope you have a SD card reader.

Insert the microSD card in the adapter and then in your laptop/PC and format it completely.

Now let us install the operating system(OS) for Raspberry Pi from here. Once done, burn it on your microSD card using any of your favourite tool(mine is BalenaEtche). If you don’t know how to burn, follow Burn OS image to microSD card section.

If you have an existing SD card with data that you don’t use, you can also format it by following the instructions below

Linux OS GUI:

  1. Insert your microSD card into a SD adapter

2. Right click on the SD card and click Properties

3. Click on Open Disk

4. Select the Partition you want to format.

5. Click the _Settings _icon(2 wheels)

6. Select Format Partition

7. Choose Erase

8. Choose For all devices using……

The time taken for formatting will vary on how much data you have. Meanwhile, grab a coffee.

#aws #linux #networking #raspberry-2

What is GEEK

Buddha Community

Turn Raspberry Pi into Server and Implement CI/CD Pipeline in AWS
Matt  Towne

Matt Towne

1589791867

Serverless CI/CD on the AWS Cloud

CI/CD pipelines have long played a major role in speeding up the development and deployment of cloud-native apps. Cloud services like AWS lend themselves to more agile deployment through the services they offer as well as approaches such as Infrastructure as Code. There is no shortage of tools to help you manage your CI/CD pipeline as well.

While the majority of development teams have streamlined their pipelines to take full advantage of cloud-native features, there is still so much that can be done to refine CI/CD even further. The entire pipeline can now be built as code and managed either via Git as a single source of truth or by using visual tools to help guide the process.

The entire process can be fully automated. Even better, it can be made serverless, which allows the CI/CD pipeline to operate with immense efficiency. Git branches can even be utilized as a base for multiple pipelines. Thanks to the three tools from Amazon; AWS CodeCommit, AWS CodeBuild, and AWS CodeDeploy, serverless CI/CD on the AWS cloud is now easy to set up.

#aws #aws codebuild #aws codecommit #aws codedeploy #cd #cd pipeline #ci #ci/cd processes #ci/cd workflow #serverless

Tools and Images to Build a Raspberry Pi n8n server

n8n-pi

Tools and Images to Build a Raspberry Pi n8n server

Introduction

The purpose of this project is to create a Raspberry Pi image preconfigured with n8n so that it runs out of the box.

What is n8n?

n8n is a no-code/low code environment used to connect and automate different systems and services. It is programmed using a series of connected nodes that receive, transform, and then transmit date from and to other nodes. Each node represents a service or system allowing these different entities to interact. All of this is done using a WebUI.

Why n8n-pi?

Whevever a new technology is released, two common barriers often prevent potential users from trying out the technology:

  1. System costs
  2. Installation & configuration challenges

The n8n-pi project eliminates these two roadblocks by preconfiguring a working system that runs on easily available, low cost hardware. For as little as $40 and a few minutes, they can have a full n8n system up and running.

Thanks!

This project would not be possible if it was not for the help of the following:

Documentation

All documentation for this project can be found at http://n8n-pi.tephlon.xyz.

Download Details:

Author: TephlonDude

GitHub: https://github.com/TephlonDude/n8n-pi

#pi #raspberry pi #raspberry #raspberry-pi

Hal  Sauer

Hal Sauer

1593637560

Turn Raspberry Pi into Server and Implement CI/CD Pipeline in AWS

I have always been into self development and learning new technologies. So, I asked my brain, why not use these interesting times of isolation to bump it up. Within a millisecond, my brain replied, “Hell Yeahhhhh”. That’s where all the action began!

I was invited to a small community group called “A Slice of Pi” looking for enthusiasts that wanted to push their understanding of Raspberry Pi through projects.

Via recommendation from the group, I ordered a Raspberry Pi Zero. A few hours later, I recalled that I already have an unused Raspberry Pi 3 that someone had lent me a while ago. A huge smile came on my face just because I didn’t have to wait for the new one to come in the post. The idea from the group was to setup a server at home “just because” is as a learning experience.

The idea from the group was to setup a server at home as a learning experience “just because”. (over zoom)

In the end, our architecture will look like this. This includes your website hosted on Raspberry Pi which is accessible via the public internet.

Let’s go on the mission together.

Get Equipped:

You will need the following:

  • Micro USB
  • Power cable
  • HDMI cable
  • Micro-SD card (32GB recommended)
  • Keyboard
  • Raspberry Pi
  • Monitor with HDMI input
  • Router connect to WiFi
  • Mouse
  • SD Card Adapter

Prepare the SD Card

Hope you have a SD card reader.

Insert the microSD card in the adapter and then in your laptop/PC and format it completely.

Now let us install the operating system(OS) for Raspberry Pi from here. Once done, burn it on your microSD card using any of your favourite tool(mine is BalenaEtche). If you don’t know how to burn, follow Burn OS image to microSD card section.

If you have an existing SD card with data that you don’t use, you can also format it by following the instructions below

Linux OS GUI:

  1. Insert your microSD card into a SD adapter

2. Right click on the SD card and click Properties

3. Click on Open Disk

4. Select the Partition you want to format.

5. Click the _Settings _icon(2 wheels)

6. Select Format Partition

7. Choose Erase

8. Choose For all devices using……

The time taken for formatting will vary on how much data you have. Meanwhile, grab a coffee.

#aws #linux #networking #raspberry-2

Rory  West

Rory West

1621691340

Creating CI/CD Pipeline for AWS ECS

Amazon Elastic Container Service (ECS) is Amazon’s solution for running and orchestrating Docker containers. It provides an interface for defining and deploying Docker containers to run on clusters of EC2 instances.

In this blog post I will explain how to run simple node.js application in Amazon EC2 Container Service (ECS) and then in the next part we will create CI/CD Pipeline.

You can download the source code from my GitHub account.

Prerequisites

  1. You should have VPC created in your account with Public and Private Subnets and Private subnets should have a route to NAT Gateway.
  2. Amazon Elastic Container Service (ECS) Cluster
  3. Application Load Balancer
  4. ECR Repository
  5. Permission to Create IAM roles, policies
  6. AWS CLI
  7. Application Load Balancer

#docker #aws #devops #aws-ecs #ci/cd pipeline

Rory  West

Rory West

1621868100

Creating CI/CD Pipeline for AWS ECS

In Part-1 of this tutorial I have explained how you can run sample node js applications in AWS ECS. In this tutorial I will explain how to Create CI/CD Pipeline using AWS Code-Pipeline.

You can download the source code from my GitHub account.

Prerequisites

  1. Code Commit Repository
  2. You should have VPC created in your account with Public and Private Subnets and Private subnets should have a route to NAT Gateway.
  3. AWS ECS Cluster with Service Running Task Definition (Refer: Part — I)
  4. AWS ECR Repository
  5. Permission to Create IAM roles, policies

Architecture Diagram

#aws-ecs #automation #devops #aws #ci/cd pipeline