https://github.com/containercraft/lxd-rdp-fedora
CloudCTL | Cloud Deployment Administrative Utilities & Support Services
https://github.com/containercraft/lxd-rdp-fedora
Last synced: 4 months ago
JSON representation
CloudCTL | Cloud Deployment Administrative Utilities & Support Services
- Host: GitHub
- URL: https://github.com/containercraft/lxd-rdp-fedora
- Owner: ContainerCraft
- License: gpl-3.0
- Created: 2020-06-13T00:58:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T21:07:23.000Z (over 5 years ago)
- Last Synced: 2025-06-28T16:49:04.505Z (12 months ago)
- Language: HTML
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CloudCTL
DevOps Deployment Services & Utilities Container [Pod] Infrastructure as Code [(IaC)] toolkit.
## Problem
Infrastructure deployment requires a wide set of user enablement & automation
utilities, network services, and Infrastructure as Code resources. These can
become difficult & inconsistent to maintain and support.
## Solution
CloudCtl provides a [Podman] container [Pod] based "Point of Origin"
Infrastructure as Code [(IaC)] toolkit for deployment operations tasks
with core features delivered via [UBI8] based [ContainerOne] as primary
orchestration base capable of dynamically allocating additional pod
contained services.
##### Core Features
- stateful
- dynamic
- portable
- consistent
##### Supported Distributions
- [Fedora] 32+
- [CentOS] 8.0+
- [RedHat] 8.0+
- [Ubuntu] 20.04+
----------------------
# Getting Started
#### 0. Install Dependencies
```
On Fedora 32+
sudo dnf install -y curl ansible python3 python3-pip
On Ubuntu 20.04+
sudo apt install -y curl ansible python3 python3-pip
On CentOS 8+
sudo dnf install -y curl python3 python3-pip
sudo pip3 install --global ansible
```
#### 1. Install Dependencies
```
sudo -i
```
#### 2. Clone Repo
```
git clone https://github.com/CloudCtl/CloudCTL.git ~/.ccio/cloudctl ; cd ~/.ccio/cloudctl/ansible
```
#### 3. Execute Ansible Playbook
```
./run.yml
```
#### 4. Review pod status
```
sudo podman ps --all
sudo podman pod ps --all
sudo podman logs one
```
#### 5. Exec or SSH into CloudCtl pod ContainerOne
> Exec from container host
```
podman exec -it one connect
```
> SSH example from localhost
```
cat ~/.ssh/id_rsa.pub >> ~/.ccio/.secrets.d/ssh/user/authorized_keys
ssh -p 2022 root@localhost
```
#### 6. Disconnect from ContainerOne console
```
quit
```
#### 7. Remove & Cleanup
```
sudo podman rm --force one
sudo podman pod rm --force cloudctl
sudo rm -rf ~/.ccio/cloudctl
```
```
for i in $(sudo podman images | awk '/one|pause/{print $3}'); do podman rmi --force $i; done
```
[Pod]:https://kubernetes.io/docs/concepts/workloads/pods/pod
[UBI8]:https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image
[(IaC)]:https://www.ibm.com/cloud/learn/infrastructure-as-code
[ContainerOne]:https://github.com/containercraft/ContainerOne
[Podman]:https://docs.podman.io/en/latest
[Install Podman]:https://podman.io/getting-started/installation
[Fedora]:https://getfedora.org
[Ubuntu]:https://ubuntu.com/download
[CentOS]:https://www.centos.org/download
[RedHat]:https://access.redhat.com/downloads
[Fedora CoreOS]:https://getfedora.org/en/coreos?stream=stable
[RedHat CoreOS]:https://coreos.com/