<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[cnsre运维博客]]></title><description><![CDATA[cnsre.cn SRE运维博客是一个专注运维方向的技术博客，是一个值得运维人员收藏的博客. * 本站涵盖系统运维、自动化运维、监控、脚本、容器]]></description><link>https://blog.csdn.net/weixin_47430049</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_47430049]]></copyright><item><title><![CDATA[如何使用 Lambda 自动添加CloudWatch所有实例磁盘告警及 SNS 通知]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/144527318</link><guid>https://blog.csdn.net/weixin_47430049/article/details/144527318</guid><author>weixin_47430049</author><pubDate>Tue, 17 Dec 2024 10:21:06 +0800</pubDate><description><![CDATA[最近新增了一些服务器，因为每个服务器的基础监控都是要做的。我就想，如何能够快速便捷的方式把这些基础指标都监控上呢？本文将详细介绍如何通过Lambda自动为所有EC2实例添加CloudWatch磁盘告警,并在磁盘利用率超过阈值时,通过SNS主题发送通知。]]></description><category></category></item><item><title><![CDATA[Lambda函数检查S3文件夹是否存在]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/144526723</link><guid>https://blog.csdn.net/weixin_47430049/article/details/144526723</guid><author>weixin_47430049</author><pubDate>Tue, 17 Dec 2024 10:07:51 +0800</pubDate><description><![CDATA[AWS Lambda 是一种无服务器计算服务，可使您在云中运行代码，而无需自己管理服务器。通过使用 Lambda，您可以将代码上传到云中，然后 Lambda 会根据需要自动扩展和缩减计算资源，以满足您的应用程序的请求。Lambda 还支持许多编程语言和库，使您能够编写功能强大的应用程序和服务。在本文中，我们将使用 Lambda 编写一个函数，该函数将定期检查 S3 存储桶中的文件夹是否存在。如果不存在任何文件夹，则 Lambda 将向指定的 SNS 主题发送一条消息，以便管理员可以及时采取措施。]]></description><category></category></item><item><title><![CDATA[运维人员必备的 Mac Zsh 配置技巧]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/143696664</link><guid>https://blog.csdn.net/weixin_47430049/article/details/143696664</guid><author>weixin_47430049</author><pubDate>Mon, 11 Nov 2024 22:06:59 +0800</pubDate><description><![CDATA[你好！ 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章，了解一下Markdown的基本语法知识。我们对Markdown编辑器进行了一些功能拓展与语法支持，除了标准的Markdown编辑器功能，我们增加了如下几点新功能，帮助你用它写博客：撤销：Ctrl/Command + Z
重做：Ctrl/Command + Y
加粗：Ctrl/Command + B
斜体：Ctrl/Command + I
标题：Ctrl/Command + S]]></description><category></category></item><item><title><![CDATA[AWS 中的另外一种远程工具 AWS Session Manager]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/130619221</link><guid>https://blog.csdn.net/weixin_47430049/article/details/130619221</guid><author>weixin_47430049</author><pubDate>Thu, 11 May 2023 12:28:58 +0800</pubDate><description><![CDATA[因为项目的安全性。为了避免项目的服务器暴露在公网中。很多时候我们会使用跳板机或者是一些三方的远程工具，来进行一些安全性比较高的方式来进行远程项目的服务器，但是往往越安全的方式就越麻烦。那有没有一种既安全，有便捷的连接方式呢？当然有，今天就介绍下AWS Session Manager。{{< alert theme=“success” dir=“ltr” >}}x86_64
ARM64
在 CentOS 7.x 上安装 SSM Agent
x86_64
ARM64
启动服务并设置为开机启动

{{< aler]]></description><category></category></item><item><title><![CDATA[k3s 证书过期修改]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/130619177</link><guid>https://blog.csdn.net/weixin_47430049/article/details/130619177</guid><author>weixin_47430049</author><pubDate>Thu, 11 May 2023 12:22:46 +0800</pubDate><description><![CDATA[去年双十一买的服务器，但是创建了 K3S 集群。今天登录的时候发现出现了以下错误。简单记录下。]]></description><category></category></item><item><title><![CDATA[使用 Lambda 函数将 CloudWatch Log 中的日志归档到 S3 桶中]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/130619034</link><guid>https://blog.csdn.net/weixin_47430049/article/details/130619034</guid><author>weixin_47430049</author><pubDate>Thu, 11 May 2023 12:17:39 +0800</pubDate><description><![CDATA[躺了好久，诈尸了。因为换了工作，所以比较忙一直没有时间去更新博客的内容（主要还是因为懒🤔）话不多说 直接上干货。]]></description><category></category></item><item><title><![CDATA[eks使用efs dynamic provisioning 创建非root容器提示 Operation not permitted]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/122834893</link><guid>https://blog.csdn.net/weixin_47430049/article/details/122834893</guid><author>weixin_47430049</author><pubDate>Wed, 09 Feb 2022 08:56:51 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址：https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/220125450139/
相关话题：https://www.cnsre.cn/tags/eks/


前言
之前在 aws 中创建了 eks，在数据存储这一块中，我选择了使用 AWS 的 EFS 具体部署配置参考Amazon EKS 中 EFS 持久性存储。文章中的动态供给是 AWS 官方给的示例，使用的是root用户启动的容器。在我后面的测试中发现，我在使用非r..]]></description><category></category></item><item><title><![CDATA[Amazon EKS 中 EFS 持久性存储]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/122424669</link><guid>https://blog.csdn.net/weixin_47430049/article/details/122424669</guid><author>weixin_47430049</author><pubDate>Tue, 11 Jan 2022 09:50:31 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址：https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/220110850573/
相关话题：https://www.cnsre.cn/tags/eks/


学习目标

在 EKS 中部署 Amazon EFS CSI 驱动程序到
验证 EFS 并验证它是否正常工作
创建基于 EFS 的静态、动态存储

前提条件

EKS 集群
AWS CLI  如果你没有安装请查看安装、更新和卸载 AWS CLI。在安装 AWS C..]]></description><category></category></item><item><title><![CDATA[如何彻底删除EKS中一直卡在Terminating的Namespace]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/122360733</link><guid>https://blog.csdn.net/weixin_47430049/article/details/122360733</guid><author>weixin_47430049</author><pubDate>Fri, 07 Jan 2022 11:24:53 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址：https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/220107906441/
相关话题：https://www.cnsre.cn/tags/eks/


介绍
最近一直在玩EKS（Elastic Kubernetes Service – Amazon EKS） 和 kubesphere。 因为之前没有使用过EKS 和 kubesphere 所以这个过程也是一个试错的过程，在我使用 kubesphere 的时候发现有..]]></description><category></category></item><item><title><![CDATA[AWS eks绑定alb 使用aws-load-balancer-controller(Ingress Controller)提供服务]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121999105</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121999105</guid><author>weixin_47430049</author><pubDate>Fri, 17 Dec 2021 16:22:38 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址：https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/211217431135/
相关话题：https://www.cnsre.cn/tags/aws/


最近在AWS 平台创建了EKS 用于测试环境项目，EKS 创建完以后我打算使用 Ingress 控制器 来暴露服务，ingress 前在添加一个ALB 负载均衡器，这样就可以实现完全的高可用了。但是在创建好 ingress 却发现无法调通服务，查看 aws 官方文..]]></description><category></category></item><item><title><![CDATA[Log4j 漏洞修复检测 附检测工具]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121902826</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121902826</guid><author>weixin_47430049</author><pubDate>Mon, 13 Dec 2021 12:40:45 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址：https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/211213210004/
相关话题：https://www.cnsre.cn/tags/Log4j/


近日的Log4j2，可是非常的火啊，我也是加班加点把补丁给打上了次安心。Apache Log4j2存在远程代码执行漏洞，经验证，该漏洞允许攻击者在目标服务器上执行任意代码，可导致服务器被黑客控制。由于Apache Log4j 2应用较为广泛，建议使用该组件的用..]]></description><category></category></item><item><title><![CDATA[AWS私有仓库ECR推送拉取镜像]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121741844</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121741844</guid><author>weixin_47430049</author><pubDate>Mon, 06 Dec 2021 13:14:19 +0800</pubDate><description><![CDATA[-&nbsp;-&nbsp;-

作者：SRE运维博客
博客地址：&nbsp;https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/211206944174/
相关话题：https://www.cnsre.cn/tags/aws/
-&nbsp;-&nbsp;-
##&nbsp;什么是&nbsp;Amazon&nbsp;Elastic&nbsp;Container&nbsp;Registry（ECR）？

Amazon&nbsp;Elastic&nbsp]]></description><category></category></item><item><title><![CDATA[AWS EKS 添加IAM用户角色]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121691872</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121691872</guid><author>weixin_47430049</author><pubDate>Fri, 03 Dec 2021 09:58:46 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址： https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/211203931498/
相关话题：https://www.cnsre.cn/tags/aws/


因为创建 Amazon EKS 集群时，IAM 用户或角色会自动在集群的 RBAC 配置中被授予  system:masters  权限。例如，IAM 用户或角色可以是创建集群的联合身份用户。如果使用不属于 aws-auth  ConfigMap 的 IAM 用..]]></description><category></category></item><item><title><![CDATA[多云搭建 K3S 集群]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121420130</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121420130</guid><author>weixin_47430049</author><pubDate>Fri, 19 Nov 2021 12:59:39 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址： https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/211119132529/
相关话题：https://www.cnsre.cn/tags/k3s/


双十一薅了几个云厂商的羊毛，一开始搭建了k3s的单机版，后面就想着能不能搭建一个k3s集群，然后参考了这位大佬的文章，就试着用 WireGuard 来进行组网。它轻量、便捷、高效，而且数据全程加密传输，是依托公网组建虚拟局域网的优秀选择。
环境介绍
服务器介绍
..]]></description><category></category></item><item><title><![CDATA[快速搭建 kvm web 管理工具 WebVirtMgr]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121372566</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121372566</guid><author>weixin_47430049</author><pubDate>Wed, 17 Nov 2021 10:32:56 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址： https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/211117937177/
相关话题：https://www.cnsre.cn/tags/kvm/


WebVirtMgr是近两年来发展较快，比较活跃，非常清新的一个KVM管理平台，提供对宿主机和虚机的统一管理，它有别于kvm自带的图形管理工具（virtual machine manager），让kvm管理变得更为可视化，对中小型kvm应用场景带来了更多方便。
..]]></description><category></category></item><item><title><![CDATA[kvm简单使用]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121330854</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121330854</guid><author>weixin_47430049</author><pubDate>Mon, 15 Nov 2021 11:14:09 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址： https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/211115903260/
相关话题：https://www.cnsre.cn/tags/kvm/


virsh命令常用参数




参数
参数说明




基础操作



list
查看虚拟机列表，列出域


start
启动虚拟机，开始一个（以前定义的）非活跃的域


shutdown
关闭虚拟机，关闭一个域


destroy(危险)
强制关闭虚拟机，销毁..]]></description><category></category></item><item><title><![CDATA[k3s单机版安装部署 附一键安装脚本]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121244581</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121244581</guid><author>weixin_47430049</author><pubDate>Wed, 10 Nov 2021 11:18:21 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址： https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/211109907029/
相关话题：https://www.cnsre.cn/tags/k3s/


双十一各大云厂商纷纷撒种子种韭菜（抢用户），良心云 也是一如既往的良心，新用户更是通过某宝 148 就可以买到三年 2C4G8M 的轻量应用服务器。于是我也出售薅了羊毛入手了一台。
但是对于各种组件本身就对资源消耗比较大的 k8s 来说，跑起来还是有点费力的，于..]]></description><category></category></item><item><title><![CDATA[kvm 安装 windows 虚拟机]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121203434</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121203434</guid><author>weixin_47430049</author><pubDate>Mon, 08 Nov 2021 10:50:57 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址： https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/211108848062/
相关话题：https://www.cnsre.cn/tags/kvm/


安装前准备
验证CPU是否支持KVM
如果结果中有vmx（Intel）或svm(AMD)字样，就说明CPU的支持的。
egrep '(vmx|svm)' /proc/cpuinfo


关闭SELinux
将/etc/sysconfig/selinux 中的 S..]]></description><category></category></item><item><title><![CDATA[Centos7搭建 KVM 命令行安装虚拟机]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121163911</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121163911</guid><author>weixin_47430049</author><pubDate>Fri, 05 Nov 2021 15:27:53 +0800</pubDate><description><![CDATA[文章目录**安装前准备**验证CPU是否支持KVM关闭SELinux安装一些最基本的服务安装KVM及其依赖项验证安装结果开启kvm服务查看状态操作结果配置网桥模式创建 ifcfg-br0 文件修改原网卡配置重启网络服务**安装虚拟机**准备操作系统安装镜像文件创建虚拟机文件存放的目录使用 virt-install 创建虚拟机**virt-clone克隆虚拟机**使用 virt-clone 克隆新的虚拟机


作者：SRE运维博客
博客地址： https://www.cnsre.cn/
文章地址：https:]]></description><category></category></item><item><title><![CDATA[zabbix 监控 aws rds 数据库]]></title><link>https://blog.csdn.net/weixin_47430049/article/details/121117003</link><guid>https://blog.csdn.net/weixin_47430049/article/details/121117003</guid><author>weixin_47430049</author><pubDate>Wed, 03 Nov 2021 11:12:20 +0800</pubDate><description><![CDATA[作者：SRE运维博客
博客地址： https://www.cnsre.cn/
文章地址：https://www.cnsre.cn/posts/211103006342/
相关话题：https://www.cnsre.cn/tags/zabbix/


环境准备
zabbix-agent 

python2.7 

pip 

安装python 模块 

pip2.7 install boto3  

pip install awscli

部署py脚本
git地址  ：https://github.co..]]></description><category></category></item></channel></rss>