-: In the last section
we created our new multi docker security group
that's going to allow traffic from any other
instance that has the same security group applied to it.
Now, that's not the end of the story.
We still have to go back over to each of these instances
or each of these services and apply the security group
to them so that they actually belong to the security group.
So we'll start off first with Elastic cash and then rds
and then update Elastic bean stock as well.
So first one, first, let's open up the services tab up here.
And on the left hand history tab
you should see elastic cash.
If you don't see it there for any reason
you can always do a search
for cash and find elastic cash up here.
Once over here on the dashboard
we'll select Redis on the left hand side.
I'll then select this little check box right here
and then click on modify at the top.
This will open up a little window that's going to
allow us to make changes to this cluster.
We're going to change the VPC security groups.
So I'll click on little pencil
and then we'll put a check box next
to the multi docker security group.
And then finally, save.
Now normally when we make a change
to a elastic cash cluster, it's going to try to
schedule that maintenance for some very specific time.
Usually some overnight period where hopefully not a lot
of people are using our service.
But making changes to a security group doesn't
actually require a maintenance window, even
though this thing is gonna tell you that it does.
So we can just click
on modify and it will immediately start to
change the security groups on there.
That's pretty much it.
So we'll now move on to our next service RDSs.
So I'll again go up to the services tab.
I'll do a search for RDS and find manage RDS.
We can find the instances section on the left hand panel
and then select the one database instance that we have
the 'multi Docker Postgres'.
Now finding the security groups on here
it's a little bit more varied, so we're going to scroll
on down, past all the different charts that we have on here.
So scroll, scroll, scroll.
Here's the details section under 'details', you'll
see all the different security groups that are currently
being applied to this instance.
We can't change it from right here.
We have to go back up to this details heading.
And then look all the way over to the right hand side
and you'll see the 'modify' button.
So I'll click on 'modify',
and then we go back into this kind
of wizard screen.
We'll scroll on down to 'network and security'
and you'll see the 'security group' section inside of here.
You can select this drop down, and then find multi dash
docker right here.
So there's multi dash docker being applied
as a security group.
And then we'll scroll on down to the very bottom.
And at the very bottom you'll see the button
that says 'continue'.
So click that.
Now again, it's going to tell you that it wants to
schedule maintenance and it wants to make this change
at some point in the future.
That is not true of a security group change.
You don't have to schedule any maintenance
but if you feel like it, you can just hit apply immediately.
Again, it's not going to actually restart the database
or anything like that.
So either one, just go ahead and click 'modify DB instance'.
And then if you click on 'instances', again
back on the left hand side, you may
or may not see this thing flip over to something that says
like 'updating' if I refresh your.
Okay sometimes it does, sometimes it doesn't.
But if you click on the database again and then scroll back
down to that 'detail' section, you will see security
groups adding the multi docker security group right there.
All right, so that's it for RDS.
So the last one we have to take care
of is Elastic Bean stock.
So I'm going to again, go up to services.
I'll find Elastic Bean stock on history.
Now as you can see, my environment is a little
broken right now, which is totally fine.
I made a little change to it.
It's not actually broken
it just thinks that it's very temporarily broken.
So just ignore the fact that I have a severe environment
for right now, no issue there.
On the left hand side
we'll find the section that says 'configuration'.
Then in the very middle here
I'll see the card that says 'instances'.
We'll click on 'modify' on the bottom.
And then we'll scroll on down
to the very bottom here
and we'll see ec2 security groups.
So as you might guess, we're going to added check box next
to multi docker, and then I'll click on 'apply'.
We're gonna get a quick warning right here.
This is just saying that it's going to create all of our
or restart our ec2 instances
which is no issue whatsoever
because we're not doing anything
with our elastic bean stock instance just yet.
So on the bottom right hand side, I'll click on 'confirm'.
Okay, so that's gonna update our environment
which will take just a couple minutes.
So let's take a quick pause right here.
We'll come back to the next section
and start working on a little last piece
of setup of our environment on elastic bean stock.
So quick break and I'll see you in just a moment.