# AMIMOTO Systems Management documents
Management AMIMOTO AMI instances by EC2 Systems Manager.
## Prepare
You need to setup EC2 Systems Manager Agent into your AMIMOTO Instances.
[Documents](http://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-agent.html#sysman-install-ssm-agent)
## Create documents
You can create SSM docs by cloudformation.
```
$ CURRENT=$(pwd)
$ aws cloudformation create-stack --stack-name YOUR_STACK_NAME --template-body file:///${CURRENT}/ssm_documents.yml
```
## List created documents
```
$ aws ssm list-documents --document-filter-list key=Name,value=YOUR_STACK_NAME
{
"DocumentIdentifiers": [
{
"Name": "YOUR_STACK_NAME-CustomApplications-XXXXXXXXXXXX",
"PlatformTypes": [
"Linux"
],
"DocumentVersion": "1",
"DocumentType": "Command",
"Owner": "999999999999",
"SchemaVersion": "1.2"
},
{
"Name": "YOUR_STACK_NAME-GetAllWpVersion-XXXXXXXXXXXX",
"PlatformTypes": [
"Linux"
],
"DocumentVersion": "1",
"DocumentType": "Command",
"Owner": "999999999999",
"SchemaVersion": "1.2"
},
{
"Name": "YOUR_STACK_NAME-ListNginxDomains-XXXXXXXXXXXX",
"PlatformTypes": [
"Linux"
],
"DocumentVersion": "1",
"DocumentType": "Command",
"Owner": "999999999999",
"SchemaVersion": "1.2"
}
]
}
```
## Run command example
You need to get Document Name.
Please check `List created documents`.
```
$ aws ssm send-command --instance-ids YOUR_INSTANCE_ID --document-name SSM_DOCUMENTS_NAME
```
## Get Inventry data
After running commannds.
You can get inventry data.
### Get Nginx SSL domain lists
```
$ aws ssm list-inventory-entries --instance-id YOUR_INSTANCE_ID --type-name "Custom:NginxSSLDomainList"
```
### Get Yum & WP-CLI data
```
$ aws ssm list-inventory-entries --instance-id YOUR_INSTANCE_ID --type-name "Custom:Application"
```
### Get WordPress Data
```
$ aws ssm list-inventory-entries --instance-id YOUR_INSTANCE_ID --type-name "Custom:WordPressInformations"
```
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
毕业设计、课程设计源码文件,已经过测试可以直接使用。 毕业设计、课程设计源码文件,已经过测试可以直接使用。 毕业设计、课程设计源码文件,已经过测试可以直接使用。 毕业设计、课程设计源码文件,已经过测试可以直接使用。 毕业设计、课程设计源码文件,已经过测试可以直接使用。 毕业设计、课程设计源码文件,已经过测试可以直接使用。 毕业设计、课程设计源码文件,已经过测试可以直接使用。 毕业设计、课程设计源码文件,已经过测试可以直接使用。 毕业设计、课程设计源码文件,已经过测试可以直接使用。 毕业设计、课程设计源码文件,已经过测试可以直接使用。 毕业设计、课程设计源码文件,已经过测试可以直接使用。
资源推荐
资源详情
资源评论
收起资源包目录
毕业设计&课设-向AWS EC2系统经理清点AMIMOTO AMI无形资产的脚本。.zip (6个子文件)
ssm_inventry_resources-master
ssm_documents.yml 4KB
wordpress_versions.sh 1KB
nginx_ssl_domains.sh 778B
packages.sh 900B
README.md 2KB
wordpress_disk_usage_amount.sh 510B
共 6 条
- 1
资源评论
zy_zeros
- 粉丝: 953
- 资源: 320
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- python-leetcode面试题解之第157题用Read4读取N个字符-题解.zip
- python-leetcode面试题解之第156题上下翻转二叉树-题解.zip
- python-leetcode面试题解之第155题最小栈-题解.zip
- python-leetcode面试题解之第153题寻找旋转排序数组中的最小值-题解.zip
- python-leetcode面试题解之第152题乘积最大子数组-题解.zip
- python-leetcode面试题解之第151题反转字符串中的单词-题解.zip
- python-leetcode面试题解之第150题逆波兰表达式求值-题解.zip
- python-leetcode面试题解之第149题直线上最多的点数-题解.zip
- python-leetcode面试题解之第148题排序链表-题解.zip
- python-leetcode面试题解之第147题对链表进行插入排序-题解.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功