This is wonderful! I wish I had seen this weeks ago when we were setting up a hubot on our slack channel utilizing our AWS instances. To add, if you want to open the inbound ports in the security group and don't want to setup the config.json with confidential access key info, we adjusted a couple of things in our setup. We first removed config = require(__dirname + '/../config.json') and brought the "promise" up to the first "var" line. In the var "ec2" we adjusted to our region: new aws.EC2({region:'us-east-1'}); and in our IAM console, we added to our custom ec2-role the policy: AmazonEC2ReadOnlyAccess Great video and great Git Repo!
@odieodieetmarco3477
4 жыл бұрын
nice, a little quick though. I get an error with "yo hubot'. it says permission denied, even if i followed exactly the tuto. Error: EACCES: permission denied, open '/root/.config/insight-nodejs/insight-yo.json.776888430' . How can I fix that? i'm stuck, thanks
@odieodieetmarco3477
4 жыл бұрын
if I run yo hubot as ubuntu user instead of root, as suggested in an git issue, the whole putty window gets stuck..
@muzaparoff101
8 жыл бұрын
Get error from yo: got back false /usr/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:77 throw e; ^ true I didn't even find something in google about that error...
@awstutorialseries
8 жыл бұрын
+Muzaparoff Make sure you have yo installed globally as well as generator hubot. Then make sure you have ran chmod g+rwx /root /root/.config /root/.config/configstore /root/chatbot I did all this on ubuntu.
@muzaparoff101
8 жыл бұрын
+AWS Tutorial Series As I understand my instances has Node.js version is outdated. Error output: ✔ No .bowerrc file in home directory ✔ Global configuration file is valid ✔ NODE_PATH matches the npm root ✖ Node.js version Your Node.js version is outdated. Why version v0.10.42 is bad? Thanks for fast reply. :)
@awstutorialseries
8 жыл бұрын
+Muzaparoff It isn't bad per say but it's just not the latest and greatest :) I say launch a fresh server and run through the setup and you'll get it to work!
@degan6
8 жыл бұрын
I missed your videos. They are so good. Glad to see you are still making them every so often.
@awstutorialseries
8 жыл бұрын
+degan6 I'll be back on it again! Had a little break there for a bit.
@MaxPinfield99
8 жыл бұрын
Welcome back! I've missed your videos. Could you do more stuff on self-hosting in the future? The people over at www.reddit.com/r/selfhosted have plenty of cool projects listed. Or something difficult to find is things like production docker (kzitem.info/news/bejne/2K6L3qicpZOdeGk) especially adding on from that it would be cool to see how continuous intergration like Drone could be added to the worflow. These are just my opinions. Thanks for the great content.
@awstutorialseries
8 жыл бұрын
+Max Pinfield Sure! I'd love to know more about the self hosted problems people are having. Should I post in that sub reddit?
@MaxPinfield99
8 жыл бұрын
AWS Tutorial Series I think that would be awesome. I've tried my hand at hosting my own email server. I think those types of thing would be great. How to host your own email, cloud storage, chat etc.
@awstutorialseries
8 жыл бұрын
+Max Pinfield Okay cool. Hmmmm trying to think of specifics. When you say cloud storage would you like a service like ownCloud? For chat would you like something like a pubsub example using redis? :) sorry for so many questions want to make sure I get something exactly what you want.
@MaxPinfield99
8 жыл бұрын
I mean solution wise yes. Like setting up mailcow (mailcow.email) or how to setup owncloud or variants and if there is a way hook it up to S3. There's also Streama which is a copy of Netflix - private cloud Netflix = cool (dularion.github.io/streama/)
@awstutorialseries
8 жыл бұрын
+Max Pinfield Awesome Max well these are great suggestions I'll play around with them and see what I can come up with. Owncloud would be cool with s3. I just finished up alot of lambda and api gateway things I'd love to share as well soon. Thanks!!
@dflsam
8 жыл бұрын
Would Azure integration be similar?
@awstutorialseries
8 жыл бұрын
+SJC Jr. Yep! This may be what you need to integrate github.com/Azure/azure-sdk-for-node pull the azure sdk in instead of AWS and I bet you can get it to work!
@Tomahawk1955
8 жыл бұрын
don't understand what this can be used for ...
@awstutorialseries
8 жыл бұрын
+Laurent Pierre You can setup your slackbot to do deployments for you, start/stop instances, launch new ones. Etc! Also any other API you would need to integrate with (doesn't necessarily need to be AWS) I have a very extensive bot that I use for my own personal infrastructure. Enjoy!
@Tomahawk1955
8 жыл бұрын
I already does that with the aws cli command line ...
@awstutorialseries
8 жыл бұрын
+Laurent Pierre One thing I use it for is to prevent myself from using the command line. All of my chat with my team is over slack so what a better way to work with my infrastructure than right over my chat client! :)
Пікірлер: 24