0:02 hello hi everyone Welcome to Cloud
0:05 Sprint in this gcp series the next topic
0:08 we will cover is around cloud storage we
0:10 will uncover what are options cloud
0:12 storage has and why it is so popular due
0:15 to seamless integration with other gcp
0:17 services it is one of the most powerful
0:21 tool how let's go ahead and find out
0:22 the first question is what is cloud
0:25 storage cloud storage is a managed
0:27 service for storing your unstructured
0:29 data you may store any amount of data
0:32 and retrieve it as often as you like it
0:34 second point is cloud storage allows you
0:37 to store your data worldwide and
0:39 retrieve at any amount of data at any
0:41 time that's the flexibility cloud
0:44 storage offers the use cases with cloud
0:46 storage are very very rich these are
0:48 just few examples of them
0:51 nutshell a bucket is created under a gcp
0:54 project at a location and storage class
0:56 with support of versioning and life
0:59 cycles these four topics are really
1:01 important while working on the cloud
1:03 storage also while appearing for the
1:05 exam in this video we are going to
1:08 understand all these four Concepts to
1:11 the end and find out how they work [Music]
1:14 [Music]
1:16 go ahead and understand the first one
1:19 which is cloud storage locations a
1:21 bucket's location defines the physical
1:24 place where that object data in the
1:25 bucket resides
1:27 you can select from the multiple
1:30 following location types the first
1:32 location type is reasonable
1:35 a reason is a specific Geographic place
1:38 then you have option of dual reason it
1:41 is specific pair of reasons such as
1:44 Tokyo and Osaka can be one of your dual
1:45 reason option
1:48 the third option of it is multi-reason
1:51 multi-reason is a large geographical
1:54 area such as U.S that contains two or
1:57 more Geographic places
2:00 confused let's go ahead and find it out
2:01 on a console
2:04 for that first of all we will go ahead
2:06 to cloud storage I've already pinned it
2:09 a click on cloud storage once you go to
2:13 the cloud storage this is the kind of
2:16 this is the kind of dashboard you'll get
2:19 okay first of all we'll create a bucket
2:21 and see that how it works you can either
2:23 click here or you can click here let's
2:25 create the bucket
2:27 you have to first of all pick a globally
2:28 unique name
2:31 let me give a globally unique name which
2:35 is cloud Sprint
2:37 you click on continue
2:39 in the presentation we were talking
2:42 about this location type you have three
2:44 options Regional dual Regional and multi-reasonable
2:46 multi-reasonable
2:48 when you choose multi-regional you'll
2:49 see that you have
2:53 three options if your clients are across us
2:54 us
2:56 you can use this multivisional bucket
2:59 type if it's in EU Zone you can choose
3:01 EU if it's in Asia you can choose Asia
3:06 that's how you can distribute your files
3:09 across the reason that's the use case of
3:12 multi reason it gives you a very high
3:15 availability across the largest area of
3:17 course it is expensive as well
3:19 the second option is dual reason
3:23 you can choose one reason either Europe
3:26 Asia or America again but you can choose
3:30 the options okay so suppose your maximum
3:34 customer are from uh us restaurant and
3:36 U.S West four they are not from this
3:39 area you'll just choose these two and
3:40 you'll pay for only these two
3:44 this flexibility you have to choose and
3:46 pay little less money however in
3:48 multi-region you don't control that
3:51 there's also an option of Turbo
3:54 application like you upload the data
3:57 it it gets replicated between these two
4:00 locations which you have selected but if
4:02 you choose this it will be much faster
4:04 but it it will be chargeable you
4:06 understood what is multi reason what is
4:09 dual reason the cheapest option is reasonable
4:10 reasonable
4:13 your data is only stored in one reason
4:16 whatever you choose then again you have
4:19 multiple zones to uh you know just
4:22 replicate your data if something if a
4:24 reason goes down then your solution will
4:26 go down the Zone goes down you can still
4:28 serve the application
4:31 this is your choice of the jio location well
4:33 well
4:35 configuring your bucket while creating
4:36 your bucket you must know what is your
4:39 requirement and you're gonna choose on
4:41 basis of that while creating the bucket
4:44 and selecting the location type you need
4:47 to keep only two things in mind first is
4:50 your latency second is your cost let's
4:52 go back to the presentation and
4:53 understand some use I hope after looking
4:55 at the console it is little here now
4:58 what is reason what is the Dual region
5:00 and what is the meaning of multi reason
5:02 one very important note I want to
5:04 highlight is that you cannot change your
5:06 bucket's location after it's created but
5:09 you can of course move the data uh to a
5:12 bucket in a different location but you
5:14 can change the location of a bucket once
5:16 it's created you need to delete it and
5:18 then recreate it that's that's the
5:20 that's one thing you need to take care
5:21 so it's very very important to choose
5:23 the right location while it while you're
5:25 creating it
5:27 that solves the first thing which is
5:29 location how to choose a location how do
5:32 you choose a location in which case what
5:34 is suited the best
5:37 with some examples we'll try to
5:38 understand it
5:40 suppose my first requirement is
5:43 I want to optimize latency and bandwidth
5:47 I want the lowest data storage cost
5:52 zonal redundancy so if if a Zone goes
5:54 down another Zone solves my request I'm
5:57 happy with it in this case I'll go with reason
5:58 reason
6:01 because Regional is satisfying me all
6:03 three requirements
6:06 in the second example I want to optimize
6:09 latency and bandwidth I want cross
6:11 region redundancy which means
6:14 that if one reason goes down another
6:17 reason should serve my application
6:19 in this case I'll go with dual Regional option
6:25 third is that I third option is like I
6:27 want the highest availability which
6:30 means that it should be across the region
6:31 region
6:33 and then you want to cross geographical
6:35 data access
6:38 in that case I'll choose multi user I
6:40 hope these examples helped you to
6:42 understand how to recommend a location
6:44 on what basis and what is the meaning of
6:47 these these three
6:50 bucket locations to the second concept
6:52 of buckets so this class it is one of
6:54 the most important concept of this
6:57 entire uh topic basically a storage
6:59 class is a piece of metadata that is
7:01 used by every object
7:04 a storage class set for an object
7:06 affects the object's availability and
7:09 pricing model it simply means that you
7:12 attach a metadata with every with every
7:15 file you upload and that metadata
7:19 affects the how that particular object
7:21 will be available or how much you you're
7:24 gonna pay for that yeah
7:25 to break it further let's understand
7:28 that storage class types
7:31 we have four type of cloud storage class
7:34 the first one in the line is standard
7:37 storage standard storage is best for
7:39 data that is frequently exist also
7:41 called hot data
7:43 and it is stored only for brief period
7:45 of time
7:47 the second option is nearly storage
7:50 which is low cost highly durable storage
7:52 service for storing infrequently
7:54 accessed data
7:56 you need to have the data in the bucket
7:58 at least for 30 days to qualify for nearly
8:04 the third option is code line code Line
8:07 storage is very low cost it is highly
8:09 durable storage service again and it is
8:12 also stored for infrequently accessed
8:14 data minimum storage duration is 90 days
8:17 for this cold line class
8:19 the last class is archival
8:22 archive storage is the lowest cost
8:24 it is highly durable storage service for
8:26 data archiving online backups and Dr
8:30 kind of things 365 days is the minimum
8:32 storage duration for this this minimum
8:35 storage duration means that you need to
8:38 use this these options only if you're
8:40 gonna keep the data for this particular
8:42 period Then only you'll get benefit of
8:43 the cost
8:46 suppose if you put a data in nearline
8:49 storage you're not going to qualify for
8:52 that cost if you delete or move the data
8:54 within 20 days it will be charged as
8:57 standard that's the difference of the
8:59 concept again let's go ahead to the
9:02 console and find out what are these four
9:05 options so far we have chosen the
9:07 location so for this example let's
9:09 choose us East one
9:13 let's go down and let's choose continue
9:15 in the next step it is asking me to
9:17 choose a storage class
9:19 last Google Cloud next
9:21 this order class was launched it
9:24 automatically you know transitions each
9:26 object to hotter or colder service based
9:28 on object level activity
9:31 okay to optimize the cost but first of
9:33 all we need to understand and then we
9:35 will choose if we it is clear why to
9:38 rely on auto class as we discussed we
9:41 have four options standard near line
9:43 Gold Line archival standards when you
9:45 when you choose standard you're choosing
9:48 a class of data which is just you
9:51 frequently accessed you choose near line
9:54 you know that it will be you know exist
9:56 once in a month
9:58 when you're choosing goal line you're
10:02 sure that once in 90 days this data will
10:03 be accessed
10:06 once you choose archive you you're sure
10:10 that only in next one year this data
10:13 will be accessed okay that's the
10:15 criteria while choosing which class this
10:17 your data belongs to
10:19 suppose you're storing the profile of
10:22 your users in standard profile Json will
10:24 be exist almost every day whenever user
10:26 logs in so you will keep it here
10:28 you are doing something
10:30 um you are storing a data which is only
10:31 used once a month for monthly reporting
10:34 you'll choose nearline when you know a
10:36 data is will be accessed only once a quarter
10:37 quarter
10:40 which could be suppose some audit report
10:42 you you have to run once a quarter
10:44 you'll choose cold line
10:47 and when you know that you need uh just
10:50 need to keep the legal data for some
10:53 legal issue if it happens for 10 years
10:56 and it is only accessible once a year
10:58 you'll choose archival
11:02 okay that's how you are going to choose
11:06 the class of the bucket
11:08 okay I hope this is clear let's go ahead
11:10 again to the presentation understand
11:12 with some examples
11:14 the first storage class is again
11:16 standard as you mentioned there's no
11:19 minimum storage duration needed you
11:21 don't you are not charged for retrieval
11:24 fees your typical monthly ability is
11:27 greater than 99.99 in multi Regional and
11:30 divisional 99 in reasons
11:32 the second option is nearline storage
11:34 which is again minimum storage duration
11:36 required is 30 days to get this benefit
11:39 if once you retrieve the data from a
11:42 near-line storage you have to pay for
11:44 the retrieval fee you see the ability
11:46 have decreased in multi-regional and
11:48 dual reasonable that's why it is little
11:49 cheaper option
11:51 the option is Gold Line Gold Line your
11:53 minimum storage solution required is 90
11:56 days so when will use case is needed
11:59 that you only need to you only need some
12:01 need to access something once in 90 days
12:03 then you use this particular cold Line
12:05 storage again you have to pay some
12:07 retrieval fee you can check the
12:10 availability here
12:13 the last option is archive storage which
12:15 is archive class
12:18 365 days is the minimum storage duration
12:20 you need to pay for the retrieval fees
12:23 right these four storage classes are
12:26 here we already understood at the UI and
12:29 what it is and how to use it all right
12:31 so we covered what is storage buckets we
12:33 understood what are the what are the
12:35 storage location and what are the
12:38 storage classes let's go ahead and do a
12:41 case study to understand it better
12:44 you need to answer the question
12:47 so Bob needs to store a data for over 10
12:49 years for legal audits
12:51 this data can be accessed by the legal
12:53 team from multiple reason any time if
12:55 needed the question is which location
12:57 and class should Bob use
13:06 clearly since Bob needs to store it for
13:09 10 years Bob will go with archival class
13:12 and multi-reason is needed so it will go
13:15 with material offshore let's go ahead
13:16 and complete the bucket which we are
13:19 creating right so we choose standard
13:23 location we choose us East one
13:26 okay in the next video we'll understand
13:29 these two concepts we say continue next
13:31 option is that how to control access to
13:34 objects if you want to create it public
13:37 you can check it uncheck it you can
13:40 uncheck it if you check it it will not
13:42 allow your bucket to be publicly accessed
13:44 accessed
13:47 the next option is uniform when you
13:49 choose uniform
13:52 it allows access on all objects in the
13:54 bucket okay by using the Bucket Level permissions
13:56 permissions
13:57 so whatever permission you assign the
14:00 bucket label all the objects within this
14:03 will be accessible to that particular
14:06 new service account or the user group
14:09 okay then you have fine grain you can
14:12 specify excess of individual users at
14:16 ACA level so suppose you want to store a
14:17 credit card information and you only
14:21 want users to take excess of that you'll
14:23 at that time while dealing with
14:25 sensitive information you'll be using
14:27 fine grained permission and while
14:29 uploading the file Only You ensure the
14:31 permission of that file within that
14:34 command while uploading it
14:36 for this example we'll create con
14:39 uniform and click on continue
14:42 we'll send none create
14:49 all right this created a bucket you can
14:51 upload files you can upload a folder
14:54 create a folder you can transfer data
14:56 there's a lot of options so that's you
14:59 can see creating a bucket is really easy
15:02 Once you know what you need and what are
15:03 the use cases
15:06 in the next video we'll understand about
15:07 the versions
15:09 what are versions water bucket life cycle
15:11 cycle
15:13 and how to upload data what are transfer services
15:14 services