Cloud: Difference between revisions

From 太極
Jump to navigation Jump to search
No edit summary
 
(56 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Tips =
* [https://lifehacker.com/how-to-safely-store-sensitive-files-in-the-cloud-1848529835 How to Safely Store Sensitive Files in the Cloud]
* [https://www.ghacks.net/2017/06/15/a-comparison-of-linux-vps-providers-for-beginner-hosting/ A comparison of Linux VPS Providers for beginner hosting]
= Amazon =
= Amazon =
== Remote Desktop ==
== Remote Desktop ==
[https://www.nomachine.com/accessing-your-remote-linux-desktop-on-amazon-elastic-compute-cloud-via-NoMachine  
[https://www.nomachine.com/accessing-your-remote-linux-desktop-on-amazon-elastic-compute-cloud-via-NoMachine Accessing your remote desktop on Amazon's Elastic Compute Cloud via NoMachine]
Accessing your remote desktop on Amazon's Elastic Compute Cloud via NoMachine]
 
== [https://amazonlightsail.com/ Amazon Lightsail] ==
* Virtual private servers starting at $5 a month (512MB memory, 1 Core, 20GB SSD, 1TB Transfer)
* [https://www.makeuseof.com/free-website-hosting-on-amazon-lightsail/ How to Host a Free WordPress Website on Amazon Lightsail]


= Google =
= Google =
== Share PDF versions of Google Drive files ==
[http://www.makeuseof.com/tag/share-pdf-versions-google-drive-files-without-converting/ 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 ==
[https://www.makeuseof.com/sync-google-drive-onedrive-files-computer How to Sync Google Drive and OneDrive Files to Your Computer]
= Microsoft Onedrive =
* [http://blog.revolutionanalytics.com/2016/11/data-manipulation-with-sparklyr-on-azure-hdinsight.html Data Manipulation with sparklyr on Azure HDInsight]
* [http://metadataconsulting.blogspot.com/2014/05/how-to-get-direct-download-link-from.html How to Get Direct Download Link From OneDrive]
* [https://support.office.com/en-us/article/What-do-the-OneDrive-icons-mean-11143026-8000-44f8-aaa9-67c985aa49b3 What do the OneDrive icons mean?]
* [https://www.ghacks.net/2015/08/13/how-to-gain-access-to-onedrive-files-without-them-taking-up-storage-space/ How to gain access to OneDrive files without them taking up storage space]
* [https://www.makeuseof.com/tag/remove-local-copies-onedrive-files-without-deleting/ 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 ==
[https://www.makeuseof.com/access-onedrive-files-offline-windows/ How to Access OneDrive Files Offline on a Windows PC]
== SharePoint ==
[https://www.makeuseof.com/microsoft-sharepoint-sites-explained/ Microsoft SharePoint Sites Explained: Hub Site, Team Site, and Communication Site]
= Shared hosting and VPS =
[https://www.pcworld.com/article/1937668/best-web-hosting-services.html Best web hosting services 2023: Expert picks and advice]
= [https://www.digitalocean.com/ DigitalOcean] =
Virtual private servers starting at $5 a month (512MB memory, 1 Core, 20GB SSD, 1TB Transfer)
= Oracle cloud =
<ul>
<li>https://oracle.com/cloud/
<li>[https://www.youtube.com/watch?v=E3z-T7d2jEI 【甲骨文】云服务器免费注册地址大全!]
<li>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.
<li>Hamburger icon on top-left -> Billing and cost management.
<li>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.
* [https://www.reddit.com/r/oraclecloud/comments/zf0tje/out_of_capacity_for_shape_vmstandarda1flex/ 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.
<li>Linux distribution
* Ubuntu default username: ubuntu (about 240 MB RAM, [https://www.reddit.com/r/oraclecloud/comments/12jueh3/lightest_image_on_ram_for_micro_instances/ 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.
<li>Post installation <BR/>
Fix date/time  (works for Ubuntu & rocky)
<syntaxhighlight lang='sh'>
sudo timedatectl set-timezone America/New_York
</syntaxhighlight>
<li>Open ports
* Document [https://docs.oracle.com/en-us/iaas/developer-tutorials/tutorials/apache-on-ubuntu/01oci-ubuntu-apache-summary.htm Free Tier: Install Apache and PHP on an Ubuntu Instance]. Search " Enable Internet Access" and "ingress rule".
* Document [https://docs.oracle.com/en-us/iaas/Content/Network/Concepts/overview.htm Networking Overview] Access to the Internet
* [https://stackoverflow.com/questions/54794217/opening-port-80-on-oracle-cloud-infrastructure-compute-node Opening port 80 on Oracle Cloud Infrastructure Compute node] & the link to [https://medium.com/@fathi.ria/oracle-database-cloud-open-ports-on-oci-1af24f4eb9f2 Oracle Database Cloud — Open Ports on OCI]
* [https://www.reddit.com/r/oraclecloud/comments/r8lkf7/comment/hv4kqyu/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button This works]. Suppose I installed Docker and start a nginx container. Then, Step 1 ('''seems not needed''').
<pre>
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
</pre>
Or (not tested).
<pre>
sudo apt install ufw
ufw --version
sudo ufw enable
sudo ufw allow 80/tcp
sudo ufw status
</pre>
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.
</ul>
== Idle instance reclaim ==
[https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm#compute__idleinstances  Always Free Resources]
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)
= [https://c9.io/ Cloud9] =
[http://www.makeuseof.com/tag/install-wordpress-virtual-server/ How to Install WordPress on a Virtual Server for Free Using Cloud9]
= [https://mega.nz/ Mega]: 50GB free =
= pCloud: 10GB free =
[https://www.makeuseof.com/tag/pcloud-free-up-device-storage/ This Dropbox Alternative Frees Up Device Storage Without Deleting Anything]
= Self-hosted =
* [https://www.makeuseof.com/nextcloud-or-owncloud/ Owncloud vs. NextCloud vs. Seafile: Which Self-Hosted Cloud Storage Should You Choose?]
* [http://www.makeuseof.com/tag/improve-online-security-defend-privacy/ Cloud Storage]
* [https://opensource.com/alternatives/dropbox 5 open source alternatives to Dropbox]. For synchronization, it mentions
** [https://syncthing.net/ syncthing] (P2P)
** [http://www.sparkleshare.org/ SparkShare], [https://www.linuxuprising.com/2019/01/sparkleshare-dropbox-like-sync-client.html Dropbox-Like Sync Client Powered By Git]
** [https://cozy.io/en/ Cozy].
== File sharing platforms ==
[https://www.geeksmint.com/open-source-cloud-file-sharing-platforms/ 22 Best Free Open Source Cloud File Sharing Platforms]
== [https://owncloud.org/ ownCloud] ==
== NextCloud ==
See [[NAS#NextCloud|NextCloud]]
== [https://www.seafile.com/en/home/ 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'''. [https://github.com/haiwen/seafile Github].
= Video streaming =
[https://www.makeuseof.com/tag/best-free-movie-streaming-sites/ The 10 Best Free Movie Streaming Sites ]
= Images =
[https://www.howtogeek.com/366356/the-best-free-image-hosting-websites/ The Best Free Image Hosting Websites]
= Free website hosting services =
* [https://www.makeuseof.com/tag/best-free-website-hosting-services/ The Best Free Website Hosting Services in 2019]
* [https://www.makeuseof.com/tag/free-website-hosting-dropbox-google-drive-onedrive/ How to Get Free Website Hosting With Dropbox, Google Drive, or OneDrive] 2022


= Microsoft Azure =
= Decide a date/schedule a meeting =
[http://blog.revolutionanalytics.com/2016/11/data-manipulation-with-sparklyr-on-azure-hdinsight.html Data Manipulation with sparklyr on Azure HDInsight]
* https://doodle.com/
* https://www.surveymonkey.com/mp/online-schedule-poll/

Latest revision as of 15:16, 17 November 2024

Tips

Amazon

Remote Desktop

Accessing your remote desktop on Amazon's Elastic Compute Cloud via NoMachine

Amazon Lightsail

Google

Share PDF versions of Google Drive files

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

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

SharePoint

Microsoft SharePoint Sites Explained: Hub Site, Team Site, and Communication Site

Shared hosting and VPS

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
    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

Always Free Resources

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)

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

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

Decide a date/schedule a meeting