$ sudo apt-get install cifs-utils
$ sudo mkdir /mnt/CIFSMOUNT
You can see my latest update in my blog here https://medium.com/@calvin.hsieh/steps-to-install-mongodb-on-aws-ec2-instance-62db66981218
Credits:
Big thanks to Elad Nava and Shane Rainville for writing the above articles that allow me to conduct this guide. If by all means that I violated original post's copyright, please contact me.
| <!DOCTYPE html> | |
| <html data-ng-app="TestApp"> | |
| <head> | |
| <script src="http://code.angularjs.org/1.2.9/angular.js"></script> | |
| <script> | |
| angular.module('TestApp', []) | |
| .factory('beforeUnload', function ($rootScope, $window) { | |
| // Events are broadcast outside the Scope Lifecycle |
| Moved to: | |
| https://github.com/cra0zy/code-nautilus | |
| since people want to add features to it and no notification arrive from comments on gist. |
| imports: | |
| - path: kubernetes_engine.py | |
| - path: kubernetes_engine_apis.py | |
| resources: | |
| - name: cluster | |
| type: kubernetes_engine.py | |
| properties: | |
| CLUSTER_NAME: [[YOUR-CLUSTER-NAME]] | |
| CLUSTER_ZONE: [[YOUR-CLUSTER-ZONE]] |
| def GenerateConfig(context): | |
| """Generate YAML resource configuration.""" | |
| cluster_types_root = '{}/kubernetes'.format(context.env['project']) | |
| cluster_types = { | |
| 'Service': '{}-v1:/api/v1/namespaces/{{namespace}}/services'.format(cluster_types_root), | |
| 'Deployment': '{}-v1beta1-apps:/apis/apps/v1beta1/namespaces/{{namespace}}/deployments'.format(cluster_types_root) | |
| } | |
| name = context.properties['name'] |
| def GenerateConfig(context): | |
| """Generate YAML resource configuration.""" | |
| cluster_name = context.properties['CLUSTER_NAME'] | |
| cluster_region = context.properties['CLUSTER_ZONE'] | |
| number_of_nodes = context.properties['NUM_NODES'] | |
| resources = [] | |
| outputs = [] |
| def GenerateConfig(context): | |
| """Generate YAML resource configuration.""" | |
| cluster_types_root = '{}/kubernetes'.format(context.env['project']) | |
| cluster_types = { | |
| 'Service': '{}-v1:/api/v1/namespaces/{{namespace}}/services'.format(cluster_types_root), | |
| 'Deployment': '{}-v1beta1-apps:/apis/apps/v1beta1/namespaces/{{namespace}}/deployments'.format(cluster_types_root), | |
| 'Ingress': '{}-v1beta1-extensions:/apis/extensions/v1beta1/namespaces/{{namespace}}/ingresses'.format(cluster_types_root), | |
| } |