Cloud: Difference between revisions
Line 109: | Line 109: | ||
* Network utilization is less than 20% | * Network utilization is less than 20% | ||
* Memory utilization is less than 20% (applies to A1 shapes only) | * Memory utilization is less than 20% (applies to A1 shapes only) | ||
== Minimal Ubuntu in Oracle Cloud == | |||
<pre> | |||
This system has been minimized by removing packages and content that are | |||
not required on a system that users do not log into. | |||
To restore this content, you can run the 'unminimize' command. | |||
</pre> | |||
* htop shows 197MB (vs 247MB) on Ubuntu 24.04.1 LTS. | |||
* It's optimized for cloud environments and automated deployments. | |||
* It has a smaller footprint, faster boot times, and requires fewer security updates. | |||
* It lacks many convenience tools typically found in standard Ubuntu Server installations. For example, manual pages, text editors, network diagnostic tools,... | |||
= [https://c9.io/ Cloud9] = | = [https://c9.io/ Cloud9] = |
Latest revision as of 18:50, 7 December 2024
Tips
- How to Safely Store Sensitive Files in the Cloud
- A comparison of Linux VPS Providers for beginner hosting
Amazon
Remote Desktop
Accessing your remote desktop on Amazon's Elastic Compute Cloud via NoMachine
Amazon Lightsail
- Virtual private servers starting at $5 a month (512MB memory, 1 Core, 20GB SSD, 1TB Transfer)
- How to Host a Free WordPress Website on Amazon Lightsail
Share PDF Versions of Google Drive Files Without Converting by Hand[
Open Google spreadsheet with the cursor on last working cell
https://stackoverflow.com/a/28893127
Sync Files to Your Computer
How to Sync Google Drive and OneDrive Files to Your Computer
Microsoft Onedrive
- Data Manipulation with sparklyr on Azure HDInsight
- How to Get Direct Download Link From OneDrive
- What do the OneDrive icons mean?
- How to gain access to OneDrive files without them taking up storage space
- How to Remove Local OneDrive Files Without Deleting Them
For NIH one drive,
- we can only share with NIH users.
- When sharing a file, the receiver needs to sign in through their browser and if the files are large, it cannot be opened online and needs to be downloaded to local first.
- we need a PIV card in order to see oneDrive online.
- it seems we cannot use oneDrive as a backup. If we unselect a folder for syncing, the folder will be immediately removed from the local system.
- not sure if the syncing is working. I copy a new folder to the local onedrive folder. The oneDrive icon on the top menu keeps rotation but nothing really happened. The new files are not in cloud and the syncing symbol shows files are not synced.
Access offline
How to Access OneDrive Files Offline on a Windows PC
Microsoft SharePoint Sites Explained: Hub Site, Team Site, and Communication Site
Best web hosting services 2023: Expert picks and advice
DigitalOcean
Virtual private servers starting at $5 a month (512MB memory, 1 Core, 20GB SSD, 1TB Transfer)
Oracle cloud
- https://oracle.com/cloud/
- 【甲骨文】云服务器免费注册地址大全!
- Be sure to keep SSH keys since there is no way to retrieve it
- For some reason, suddenly I cannot ssh connect to my VM after I installed and ran the calibre docker container.
- On another machine, my ssh connection got kicked out client_loop: send disconnect: Broken pipe
- The console connection method still relies on SSH, which doesn't solve your original problem. Unfortunately, Oracle Cloud Infrastructure (OCI) doesn't provide a direct, non-SSH method to access the command line of your VM through the web interface, unlike some other cloud providers.
- Hamburger icon on top-left -> Billing and cost management.
- Difficult to create VMs: Out of capacity for shape VM.Standard.A1.Flex in availability domain AD-2. Create the instance in a different availability domain or try again later. If you specified a fault domain, try creating the instance without specifying a fault domain, otherwise try creating the instance in a different availability domain. If that doesn’t work, please try again later.
- Out of capacity for shape VM.Standard.A1.Flex
- Change A1.Flex to A2.Flex will help but A2.Flex is not always free
- VM.Standard.E2.1.Micro is always available. But we are limited to
- 2 instances.
- RAM = 1GB No cache in VM. So if we ran out of memory, the machine will be frozen. Need to reboot.
- Network bandwidth is .48 rather 1 GB/s.
- Linux distribution
- Ubuntu default username: ubuntu (about 240 MB RAM, Lightest image on RAM for micro instances)
- Rocky linux default username: rocky. Rocky linux is way too heavy and slow on E2.1.Micro. "dnf update" takes long time. Why total memory is 760MB instead of 1GB.
- Post installation
Fix date/time (works for Ubuntu & rocky)sudo timedatectl set-timezone America/New_York
- Open ports
- Document Free Tier: Install Apache and PHP on an Ubuntu Instance. Search " Enable Internet Access" and "ingress rule".
- Document Networking Overview Access to the Internet
- Opening port 80 on Oracle Cloud Infrastructure Compute node & the link to Oracle Database Cloud — Open Ports on OCI
- This works. Suppose I installed Docker and start a nginx container. Then, Step 1 (seems not needed).
sudo apt install firewalld sudo firewall-cmd --zone=public --permanent --add-port=8080/tcp # sudo firewall-cmd --zone=public --permanent --remove-port=8080/tcp sudo firewall-cmd --reload sudo firewall-cmd --state9 sudo systemctl status firewalld sudo firewall-cmd --list-all sudo firewall-cmd --list-ports # list open ports
Or (not tested).
sudo apt install ufw ufw --version sudo ufw enable sudo ufw allow 80/tcp sudo ufw status
Step 2. Click on my Virtual cloud network vcn-2024xxxx-xxxx. Subnets -> subnet-2024XXXX-xxxx -> Security Lists -> "Default Security List for vcn-2024XXXX-xxxx" -> Ingress Rules -> Add Ingress Rules. Currently the rules contain port 22. So I just add port 8080.
Idle instance reclaim
Idle Always Free compute instances may be reclaimed by Oracle. Oracle will deem virtual machine and bare metal compute instances as idle if, during a 7-day period, the following are true:
- CPU utilization for the 95th percentile is less than 20%
- Network utilization is less than 20%
- Memory utilization is less than 20% (applies to A1 shapes only)
Minimal Ubuntu in Oracle Cloud
This system has been minimized by removing packages and content that are not required on a system that users do not log into. To restore this content, you can run the 'unminimize' command.
- htop shows 197MB (vs 247MB) on Ubuntu 24.04.1 LTS.
- It's optimized for cloud environments and automated deployments.
- It has a smaller footprint, faster boot times, and requires fewer security updates.
- It lacks many convenience tools typically found in standard Ubuntu Server installations. For example, manual pages, text editors, network diagnostic tools,...
Cloud9
How to Install WordPress on a Virtual Server for Free Using Cloud9
Mega: 50GB free
pCloud: 10GB free
This Dropbox Alternative Frees Up Device Storage Without Deleting Anything
Self-hosted
- Owncloud vs. NextCloud vs. Seafile: Which Self-Hosted Cloud Storage Should You Choose?
- Cloud Storage
- 5 open source alternatives to Dropbox. For synchronization, it mentions
File sharing platforms
22 Best Free Open Source Cloud File Sharing Platforms
ownCloud
NextCloud
See NextCloud
Seafile
Similar to Nextcloud as it allows you to host your own cloud storage, while offering a Dropbox-style service. It has a Raspberry Pi server version. Github.
Video streaming
The 10 Best Free Movie Streaming Sites
Images
The Best Free Image Hosting Websites
Free website hosting services
- The Best Free Website Hosting Services in 2019
- How to Get Free Website Hosting With Dropbox, Google Drive, or OneDrive 2022